Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
Using the code below I get a result based on a calculation with the number 120000000.
In stead of that I tried using SELECTEDVALUE but no result.
Any help would be appreciated.
Cheers,
Herman
Hi @Haarms
If I understand your question correctly, you want to replace the 120000000 with a what if parameter?
If so you can create a What-If parameter and use the parameter value measure that is generated when you create the what if parameter in your calculation.
It will look something like this:
Hi Hugh!
Thanks for your reply. I was thinking the same so I created a series of parameters like:
Hi Herman
When put the measure in a card visual does it show you selected value?
Like this:
Can you maybe also share your selected value measure?
Regards
Hugh
Hi Hugh,
The selected value shows up in a card, see screenhot.
DAX code is:
The numbers you see are based on the hardcoded number 120000000.
On invoking this like in your example, nothing is showing up in the grid.
Cheers,
Herman
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 44 | |
| 40 | |
| 29 | |
| 19 |
| User | Count |
|---|---|
| 200 | |
| 126 | |
| 103 | |
| 70 | |
| 53 |