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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

How to subtract one date column from another date column as a measure?

I have two columns in the same table that are both date columns. I want to subtract one column from the other to measure the days between the dates.

 

Using the below example row one would be 01/21/2020 - 01/02/20 = 19 days

 

I'm assuming creating  a measure is the best approach...not sure how to do this.

 

 

dates2.png

 

 

 

 

1 REPLY 1
Greg_Deckler
Super User
Super User

You can use a column like:

Column = ([Act Good Issue Date] - [Created On (PO)]) * 1.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.