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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.