Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
userdata
Helper IV
Helper IV

WoW and MoM Change%

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

2 REPLIES 2
Anonymous
Not applicable

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.  

Anonymous
Not applicable

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

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors