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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors