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! It's time to submit your entry. Live now!
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 @Anonymous
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! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 40 | |
| 27 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 127 | |
| 105 | |
| 55 | |
| 39 | |
| 33 |