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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
vishalkoundal
New Member

Facing Problem with datediff Subtotal Function

I have a Calculated time Difference Between Dates result are accurate when i see data datewise but in Subtotal Area i Want Sum.

How i can do this in Excel Power Pivot Data Model.

 

Measure

Time Spend in Hrs = DATEDIFF(MIN(B2B[Check In]),MAX(B2B[Check Out]),MINUTE)/60

 

result

vishalkoundal_0-1738748605133.png

 

Result i need Like this.

vishalkoundal_1-1738748720501.png

 

0 REPLIES 0

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

Check out the April 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.