Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi
I created the following parameter, attached to a slicer to be able to modify its value. As follows:
Then I created a custom column, where I would like that each line value is automatically set to that parameter value. I did as follows. But as you can see it does not work. Do you know how to proceed?
Solved! Go to Solution.
Hi @Anonymous ,
What if parameter can only be used in measure instead of calculated column, so you can create measure like DAX below.
Meaure1= Parameter[Parameter Value]
You can learn more:https://docs.microsoft.com/en-us/power-bi/desktop-what-if.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you all!
Hi @Anonymous ,
What if parameter can only be used in measure instead of calculated column, so you can create measure like DAX below.
Meaure1= Parameter[Parameter Value]
You can learn more:https://docs.microsoft.com/en-us/power-bi/desktop-what-if.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Calculated column can not take dynamic value from the slicer. So think how can you get the same as a measure .
https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
@Anonymous You cannot have a calculated column interact with a slicer since columns are only calculated at data load/refresh.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 46 | |
| 31 | |
| 29 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |