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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Berl21
Helper III
Helper III

Show the start date of a specific project

Hi,

 

I am working on a report where two different projects started with a few days intervals. For the second one, I would like to specify the start date as a measure shown in a card, and then calculate the number of days between this date and today.

I know it is possible to define a specific date as a measure, but I can't find out how 😕 😕 😕

 

Any help for that would be much appreciated.

 

Thanks!

 

Pauline.

1 ACCEPTED SOLUTION
Adescrit
Impactful Individual
Impactful Individual

Hi @Berl21 

 

If the date you want to use as the "Start Date" exists within your dataset for project 2, you could use the MIN() function to return the minimum date in a column and treat that as the start date.

 

Howev er if you want to hard-code a date using DAX you can use the DATE function. For example today's date using this hard-coded method would look like this:

Start Date = DATE( 2022, 08, 22 )
// DATE( yyyy, mm, dd)

Did I answer your question? Mark my post as a solution!
My LinkedIn

View solution in original post

1 REPLY 1
Adescrit
Impactful Individual
Impactful Individual

Hi @Berl21 

 

If the date you want to use as the "Start Date" exists within your dataset for project 2, you could use the MIN() function to return the minimum date in a column and treat that as the start date.

 

Howev er if you want to hard-code a date using DAX you can use the DATE function. For example today's date using this hard-coded method would look like this:

Start Date = DATE( 2022, 08, 22 )
// DATE( yyyy, mm, dd)

Did I answer your question? Mark my post as a solution!
My LinkedIn

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.