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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RGallagher320
Frequent Visitor

DAX to get SUM of columns above a certain record

Hello - I am looking for a DAX measure that sums up the duration minutes for those records before and after the "Changeover" record. So I am looking for a measure that would be 25.91 (sums up the first two records for Producing and Discharge Backup prior to the "Changeover" record) and then another measure that would be 7.92 which is the Producing record after the Changeover one. I'm trying different stuff but can't quite get how to find the changeover record and then go from there. 

 

RGallagher320_0-1611886892173.png

 

Any help would be awesome. Thank you!

1 REPLY 1
amitchandak
Super User
Super User

@RGallagher320 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors