Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
64 | |
52 | |
47 |
User | Count |
---|---|
219 | |
89 | |
76 | |
67 | |
60 |