Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |