When you click the Add to Power BI button, you can copy the DAX library code to your clipboard and then paste it into the TMDL View of your Power BI semantic model.
-
(optional) Click Show Code to examine the library code before you copy it.
-
Click Copy. The code goes to your clipboard.
-
In Power BI, open the TMDL View of your semantic model.
-
In the TMDL View, paste the code into the editor (CTRL+V).
-
Click Apply in the TMDL View.
-
Use the functions in any DAX expression of your semantic model.