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.
Hi Guys,
I got a problem when I used DAX to calculate the Percent change between two measures.
I do not know why the result is not correct. The correct result should be as highlighted in green as per the picture.
This is my measure to calculate percent change :
% change from last Year =
IF (
ISBLANK ( [Sum Value year 2] ) || ISBLANK ( [Sum Value year 1] ),
BLANK (),
DIVIDE ( [Sum Value year 2] - [Sum Value year 1], [Sum Value year 1], BLANK () )
)
I would very much appreciate If you could help me with this.
Thank you in advance.
Hi,
The only think I can think of is if the numbers have more decimals than are shown which becomes rounding errors for the calculation.
Other than that, I don't see any possible issues with the logic or calculation.
Hi ,
I have tried that way before but it does not work.
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 |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |