cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
CJDK
Helper II
Helper II

Elapsed days up to today

Going round in circles trying to create a measure that subtracts a static date from today's date (dynamic) to give a running count of elapsed days. I would have thought this very simple, but too complex for me!

It seems

 

ElapsedDays = DATEDIFF((DATE(2020,02,15)),TODAY(), DAY) 

 

and

 

ElapsedDays = TODAY()-DATE(2020,02,15) 

 

don't work

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@CJDK , This formula seems correct

ElapsedDays = DATEDIFF(DATE(2020,02,15),TODAY(), DAY)

 

what is the problem you are facing on this, When I checked it gives a number 478 , which seem fine

View solution in original post

2 REPLIES 2
CJDK
Helper II
Helper II

Thanks Amitchandak - exactly what I needed 👍

amitchandak
Super User
Super User

@CJDK , This formula seems correct

ElapsedDays = DATEDIFF(DATE(2020,02,15),TODAY(), DAY)

 

what is the problem you are facing on this, When I checked it gives a number 478 , which seem fine

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors