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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jofoster
Microsoft Employee
Microsoft Employee

MoM quick measure and Date Hierarchy

I am trying to use the MoM % increase quick measure.  I am counting distinct values of an item by month, and want to also plot the % increase of the previous month. The measure requires using the PowerBI Date Hierarchy, but the quick measure will not let me add  it?  What am I doing wrong?

 

here is my data:

 

PowerBiMoM1.PNG

 

and here is what I see when trying to add the month date Hierarchy. If i just add the Month, which it lets me do, I get an error saying I need to add the date Hierarchy.

 

PowerBIMoM2.PNG

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @jofoster ,

You need to add the column of Month to the date field rather than just put month to it. The quick measure will calculate automatically based on  month.

3.PNG

Best Regards,

Xue Ding

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

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

NOt sure I understand. When I add the month, get the error that it requires the date hierarchy. But it will not let me add the data hierarchy?

 

Count of SubscriptionGUID MoM% =
IF(
    ISFILTERED('Deployments to Azure'[Month]),
    ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."),
    VAR __PREV_MONTH =
        CALCULATE(
            DISTINCTCOUNT('Deployments to Azure'[SubscriptionGUID]),
            DATEADD('Deployments to Azure'[Month].[Date], -1, MONTH)
        )
    RETURN
        DIVIDE(
            DISTINCTCOUNT('Deployments to Azure'[SubscriptionGUID])
                - __PREV_MONTH,
            __PREV_MONTH
        )
)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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