cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
userdata Frequent Visitor
Frequent Visitor

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

1 REPLY 1
Super User
Super User

Re: WoW and MoM Change%

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
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 135 members 1,684 guests
Please welcome our newest community members: