cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Find Items over 2 years that are still open

Hi Experts

 

I have a date in my issues tables. I want a calculated column with the value of 1 for all issues that are still open and over 2 years old from todays date. 

 

All items from todays date and within 2years of todays date show as zero.

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@Anonymous Not really enough information to go on but should be something like:

Column = IF([Status]="Open" && (TODAY() - [Date]) > 730, 1, 0)

@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@Anonymous Not really enough information to go on but should be something like:

Column = IF([Status]="Open" && (TODAY() - [Date]) > 730, 1, 0)

@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

View solution in original post

Anonymous
Not applicable

Anonymous
Not applicable

thanks sir

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors