Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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 @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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
71 | |
65 | |
58 | |
50 | |
47 |