Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
78 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
84 | |
48 | |
48 | |
48 |