Forum Discussion
aghonaim
Most Valuable Professional
10 years agoHow 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
Community Champion
10 years agoaghonaim 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 ago
Most 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 ago
Most Valuable Professional
OK I did vote, thanks!