cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vexander
Frequent Visitor

month over month change to ignore current month

I have created a quick measure in a qry  to calculate the month over month change in printed volume.  The problem I am having is that  the measuer is including the current month in the calculation eventhough there is no data fro the current month. 

 

This means that then current month is always negative and the final value is incorrect.   Is there away to get the measure to exclude the current month.  

 

Or is there away to filter a waterfall chart for the last that makes use of this sort of measure for only the previouse 12 months  If I try create a realitve date filter I get the following error

 

Error Message:
MdxScript(Model) (15, 2) Calculation error in measure 'qryDevicePerformanceReport'[Usage MoM%]: Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column.

 

 

Thanx in advance

1 REPLY 1
MRussett
Advocate I
Advocate I

I am having this issue now.  My data query is past 14 FULL months.   So technically "TODAY" is month 15.   The measure shows a -100%  MoM change... because I dont have data in the current "TODAY" month.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors