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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors