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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Add all the date differences in a table

Hi,

 

How can we add up all the date differences between two columns, I tried using sumx of all date differences but its not giving me right results.

 

Date Diff.png

 

Thanks,

 

Daniel

2 REPLIES 2
Phil_Seamark
Microsoft Employee
Microsoft Employee

HI @Anonymous

 

What result does it give you and what result are you expecting.

 

Can you please post your SUMX calculation here


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Anonymous
Not applicable

Hi @Phil_Seamark,

 

Below is what I get when I have sumx has a column or a measure.

 

Date Diff Sumx.png

 

Column Sumx.pngMeasure Sumx.png

 

 

 

 

 

I am trying to calculate sum of all the values that are present under Dt_Diff column.

 

Regards,

Dan

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors