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. So I'm struggling a bit with this:
We have a product that we sell with a package price per 100.000 items, so I have these coloums in a table:
Items
- just plain values
Packages = (ROUNDUP(('Table'[Items] / 100000),0)
I then created a what-if with prices from 1 to 50 in a new Coloum called Cost and added a following coloum:
I've tried many different approaches to the problem, but no matter what I do, the measure coloum Price always uses the default what-if value, now the value the user selects.
Solved! Go to Solution.
@Gauteweb, Try the below DAX in a measure,
Here is the PBIX file (didn't find any way to upload it to the community)
https://www.jottacloud.com/s/02319ee04087c4248d38a345ad60f902580
@Gauteweb, Try the below DAX in a measure,
Thanks, that worked like a charm!
Hi. Sorry, I ment Calculated Column.
I need to clean up the pbix file before I can share it, to much sensitive info 🙂
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 59 | |
| 45 | |
| 39 | |
| 39 | |
| 21 |
| User | Count |
|---|---|
| 175 | |
| 138 | |
| 118 | |
| 80 | |
| 54 |