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
Hello all, i am super new to DAX and have been assigned a task to calculate discount based on sum of the value. forexample: The total sum of a column is 125; i want to apply 25% discount on the sum. Any help is appreciated
Thanks
Solved! Go to Solution.
Just start with creating a measure:
Discounted Value = SUM(Column[Value]) * 0,75
Just start with creating a measure:
Discounted Value = SUM(Column[Value]) * 0,75
This DAX doesn't give me result of 100
I think you have a math error @rehman1 .
25% of 125 is 31.25. so a 25% discount would give you a total of 93.75.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |