Forum Discussion
aghonaim
10 years agoMost Valuable Professional
How to reference a parameter to a DAX function ?
Is it possible to reference a parameter to a DAX function and how ?
- 3 years ago
It's a nice workaround, thanks!
ankitpatira
10 years agoCommunity Champion
aghonaim In power bi desktop go to query editor -> right click your parameter and ensure Enable Load is checked. Then Parameters are just like any other query in Power BI Desktop and so you can reference them in DAX expressions.
- aghonaim10 years agoMost Valuable Professional
Assume I want to create a cacluated column that multiply column "A" in Table 1 by the paramater "Pam". I got this error:
- Anonymous10 years agoNot applicable
Hi aghonaim,
In Power BI Desktop, we are not able to use Parameters in calculated columns. Regarding to this issue, you can vote it in the following existing idea.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/12891723-parameters-calculated-fields-using-the-user-ente
Thanks,
Lydia Zhang- aghonaim10 years agoMost Valuable Professional
OK I did vote, thanks!