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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
prakash_satya59
Frequent Visitor

Want MoM% Change, Quarter % change like given image

Dear Team

I want to know How to get % MOM change, quarterly average and % qtr change as highlighte in image

my measure is "Average bill rate"

I will be really gratefull. Its very urgent requirement.

 

prakash_satya59_0-1667494497818.png

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @prakash_satya59 ,

 

Here's my solution.

1.Create a calendar table.

Calendar = ADDCOLUMNS(CALENDAR(DATE(2021,8,1),DATE(2022,12,31)),"YearQuarter",YEAR([Date])&"-"&QUARTER([Date]))

vstephenmsft_0-1667547459679.png

 

2.Create the following measures.

% MOM change = 
var _previous=CALCULATE([Average Bill Rate],PREVIOUSMONTH('Calendar'[Date]))
return DIVIDE([Average Bill Rate]-_previous,_previous)
Quarterly Average = AVERAGEX(FILTER(ALLSELECTED('Calendar'),[YearQuarter]=MAX('Calendar'[YearQuarter])),[Average Bill Rate])
Quarter % change = var _previous=CALCULATE([Average Bill Rate],PREVIOUSQUARTER('Calendar'[Date]))
return DIVIDE([Quarterly Average]-_previous,_previous)

vstephenmsft_1-1667547544674.png

 

 

 

Best Regards,

Stephen Tao

 

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

View solution in original post

2 REPLIES 2
prakash_satya59
Frequent Visitor

Thanks Stephen

v-stephen-msft
Community Support
Community Support

Hi @prakash_satya59 ,

 

Here's my solution.

1.Create a calendar table.

Calendar = ADDCOLUMNS(CALENDAR(DATE(2021,8,1),DATE(2022,12,31)),"YearQuarter",YEAR([Date])&"-"&QUARTER([Date]))

vstephenmsft_0-1667547459679.png

 

2.Create the following measures.

% MOM change = 
var _previous=CALCULATE([Average Bill Rate],PREVIOUSMONTH('Calendar'[Date]))
return DIVIDE([Average Bill Rate]-_previous,_previous)
Quarterly Average = AVERAGEX(FILTER(ALLSELECTED('Calendar'),[YearQuarter]=MAX('Calendar'[YearQuarter])),[Average Bill Rate])
Quarter % change = var _previous=CALCULATE([Average Bill Rate],PREVIOUSQUARTER('Calendar'[Date]))
return DIVIDE([Quarterly Average]-_previous,_previous)

vstephenmsft_1-1667547544674.png

 

 

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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