Forum Discussion
Lanabanana
7 years agoRegular Visitor
Calculating month-over-month while excluding blanks
Hi everyone, I'm looking to exclude blank cells from a measure I've created. I've got a formula where I'm calculating the month over month over a 15 year period for 27 products. However, some of ...
- 7 years ago
Hello Lanabanana
Give this a try
Month over month = VAR CurrMonth = SUM ( 'Product'[VALUE] ) RETURN IF ( NOT ISBLANK ( CurrMonth ), DIVIDE ( CurrMonth, [PREV_MONTH] ) - 1 )
jdbuchanan71
7 years agoSuper User
Hello Lanabanana
Give this a try
Month over month =
VAR CurrMonth =
SUM ( 'Product'[VALUE] )
RETURN
IF ( NOT ISBLANK ( CurrMonth ), DIVIDE ( CurrMonth, [PREV_MONTH] ) - 1 )