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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
aJ2
Helper I
Helper I

MoM measure displaying -100% when value is not present for this month as well as current month

Hi.

 

I have created a MoM measure-

1. sessions_MoM = SUM(all_traffic[sessions]) / [sessions_PM] - 1

 

 

2. sessions_PM_all = CALCULATE(SUM(all_traffic[sessions]), PREVIOUSMONTH('date'[date_key]))

 

The first image is the one where a filter is applied and the second image is the one where no filter is applied. 

 

One possible solution is that I can create a visual filter to exclude the ones where the value is -1. But I want some workaround so that there is no need to use the visual filter.

img1.PNGimg2.PNG

 

Kindly guide.

1 ACCEPTED SOLUTION
Floriankx
Solution Sage
Solution Sage

Maybe you can modify your Measure:

 

sessions_MoM = 
VAR MoM=SUM(all_traffic[sessions]) / [sessions_PM] - 1
RETURN
IF ([MoM]=0,BLANK(),[Mom])

View solution in original post

2 REPLIES 2
Floriankx
Solution Sage
Solution Sage

Maybe you can modify your Measure:

 

sessions_MoM = 
VAR MoM=SUM(all_traffic[sessions]) / [sessions_PM] - 1
RETURN
IF ([MoM]=0,BLANK(),[Mom])

Thank you so much

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors