cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 IV
Super User IV

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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors