Forum Discussion
Anonymous
7 years agoNot applicable
Calculate discount
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. ...
- 7 years ago
Just start with creating a measure:
Discounted Value = SUM(Column[Value]) * 0,75
Michiel
Resolver III
7 years agoJust start with creating a measure:
Discounted Value = SUM(Column[Value]) * 0,75
Anonymous
7 years agoNot applicable
This DAX doesn't give me result of 100
- jtownsend217 years ago
Responsive Resident
I think you have a math error Anonymous .
25% of 125 is 31.25. so a 25% discount would give you a total of 93.75.
- Michiel7 years ago
Resolver III
That is correct, 25% of 125 is 30, so the result should be 95.- Michiel7 years ago
Resolver III
Oops, 31,25 indeed