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,
I have a question regarding calculating WoW and MoM changes. If I put this measure into my graph the numbers are not correct. Dos anybody know if the calculation is correct and if yes how is WoW Change % calculated?
Wow =
VAR lastWeek =
CALCULATE ( SUM ( x), FILTER ( ALL ( 'Date' ), 'Date'[Sortorder Week-Year] = MIN ( 'Date'[Sortorder Week-Year] ) - 1 ) ) RETURN DIVIDE ( SUM ( x) - lastWeek ,lastWeek, 0 )
Wow Change% =
VAR lastWeek =
CALCULATE ( SUM ( x), FILTER ( ALL ( 'Date' ), 'Date'[Sortorder Week-Year] = MIN ( 'Date'[Sortorder Week-Year] ) - 1 ) ) RETURN DIVIDE ( SUM ( x) ,lastWeek, 0 )
Are these correct because if I put it in my graph it doesnt show the correct numbers.
Many thanks
RE: "First off, your measures are badly formatted, which does not make it easier for us to troubleshoot. Secondly, the measures have mistakes in them, so that daxformatter.com is not able to format. It would be desirable if you were more careful when posting online. Our time is precious as well."
It's such a bummer that people feel like they need to tell others how horrible they think their solutions are, it takes enough courage to post what you're having trouble with in the first place. If your time is so precious, then let someone else answer the question.
Hi.
First off, your measures are badly formatted, which does not make it easier for us to troubleshoot. Secondly, the measures have mistakes in them, so that daxformatter.com is not able to format. It would be desirable if you were more careful when posting online. Our time is precious as well.
For a solution to your problem please see this: https://www.sqlbi.com/articles/week-based-time-intelligence-in-dax/
Best
D
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 |
---|---|
43 | |
23 | |
21 | |
15 | |
15 |
User | Count |
---|---|
46 | |
31 | |
30 | |
18 | |
18 |