Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
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.
Solved! Go to Solution.
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]))
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)
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.
Thanks Stephen
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]))
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)
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
118 | |
79 | |
47 | |
37 | |
28 |
User | Count |
---|---|
186 | |
73 | |
72 | |
48 | |
42 |