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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
bhmiller89
Helper V
Helper V

Calculate Percent Change of a Measure

I have a measure called EHR (effective hourly rate) which = Sum(revenue)/Sum(labor hours)

 

I put the measure into a matrix using the profitability date.

 

I need a way to calculate the %change date over date (preferably Quarter over Quarter) but I don't know how to do this without the EHR data being in a column. 

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee


@bhmiller89 wrote:

I have a measure called EHR (effective hourly rate) which = Sum(revenue)/Sum(labor hours)

 

I put the measure into a matrix using the profitability date.

 

I need a way to calculate the %change date over date (preferably Quarter over Quarter) but I don't know how to do this without the EHR data being in a column. 


@bhmiller89

You may need 3 measures and one calendar table. See more details in the attached pbix file.

 

EHR = Sum('datatable'[revenue])/Sum('datatable'[labor hours])

EHR Last Quarter = CALCULATE([EHR], PREVIOUSQUARTER('calendar'[Date]))

%change = [EHR]-[EHR Last Quarter]

Capture.PNG

 

 

OpenDataLab
Helper II
Helper II

I would refer you to this article from the guys from sqlbi.  This has a lot of good advice on writing time intelligence calculations.

 

http://www.daxpatterns.com/time-patterns/

 

Let me know how you get on.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.