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
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors