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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
AmeenVanakar
Advocate II
Advocate II

Quick Measure - MOM Change Error

Hi,

I am trying to add a MOM change % using a quick measure & plot it in a graph, however when I filter using dates the chart throws an error with a message as shown in screenshot below.

Is there a formula where I can show month over month change in % & also easily change periods using date filter or any other filter such as brand, product, region, city, etc.

NB: I also dont want to change anything in the fiscal calender setup.

 

AmeenVanakar_0-1735217349014.png

AmeenVanakar_1-1735217868386.png

 

Here is the link to .pbix file.

Test.pbix

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @AmeenVanakar 
Mark your date table as "date table"

Ritaf1983_0-1735219532231.pngRitaf1983_1-1735219556658.png

and modify the formula :

[ MoM Growth %] =
    VAR __PREV_MONTH =
        CALCULATE(
            SUM('Fact_Primary Raw Data'[Value]),
            DATEADD('_FY Calendar'[Date], -1, MONTH)
        )
    RETURN
        DIVIDE(SUM('Fact_Primary Raw Data'[Value]) - __PREV_MONTH, __PREV_MONTH)
Result :
Ritaf1983_2-1735219628200.png

or if you need it with the hierarchies:

Ritaf1983_3-1735219678731.png

P.S

My recommendation, from the perspective of effective data visualization, is not to use two such metrics on the same graph. Users will struggle to understand which line corresponds to which metric, and once there are two lines on the same graph, our brain unconsciously starts comparing them. This is misleading because these are two entirely different metrics with completely different scales and proportions. I strongly recommend separating them into two distinct graphs, one below the other, each with its own Y-axis.
Ritaf1983_4-1735219965252.png

The pbix is attached with both options

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @AmeenVanakar 
Mark your date table as "date table"

Ritaf1983_0-1735219532231.pngRitaf1983_1-1735219556658.png

and modify the formula :

[ MoM Growth %] =
    VAR __PREV_MONTH =
        CALCULATE(
            SUM('Fact_Primary Raw Data'[Value]),
            DATEADD('_FY Calendar'[Date], -1, MONTH)
        )
    RETURN
        DIVIDE(SUM('Fact_Primary Raw Data'[Value]) - __PREV_MONTH, __PREV_MONTH)
Result :
Ritaf1983_2-1735219628200.png

or if you need it with the hierarchies:

Ritaf1983_3-1735219678731.png

P.S

My recommendation, from the perspective of effective data visualization, is not to use two such metrics on the same graph. Users will struggle to understand which line corresponds to which metric, and once there are two lines on the same graph, our brain unconsciously starts comparing them. This is misleading because these are two entirely different metrics with completely different scales and proportions. I strongly recommend separating them into two distinct graphs, one below the other, each with its own Y-axis.
Ritaf1983_4-1735219965252.png

The pbix is attached with both options

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@Ritaf1983 Thanks for the help, this worked.

I agree to your point, I will split them in 2 different graphs.

😍

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors