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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
inglexjc
Post Patron
Post Patron

Date count

I have a date in a table that I want to know how many days since that date.  I've tried

Days Open = CALCULATE(COUNT('TR_FSP_5A'[Open Date]),'TR_FSP_5A'[Open Date] > DATE(TODAY())).
 
Example Date open 05-01-2002 answer should be (based on today 4-14-2023) should be 7,653 days.
1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi, 

 

create a new calculated column with:

 

Column = DATEDIFF('Table'[Open Date],TODAY(),DAY)
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi, 

 

create a new calculated column with:

 

Column = DATEDIFF('Table'[Open Date],TODAY(),DAY)
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.