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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Gandarthvader
Regular Visitor

A Measure to Count Rows where a date is 30 days past today's date

Hello,

 

We're trying to show a count of projects that are 30 days or more past their Integration date. I'm still pretty new at this, but I found how to make a measure counting projects that have integrated since today's date, but I didn't know if there was a place that I could just add a +30 or something to make it 30 days or more past today's date? Below is the measure I have right now.

 

Old Projects = COUNTROWS(FILTER('MPL',NOT(ISBLANK([Integration]))&&[Integration]<TODAY()))

 

Thanks!! 

1 ACCEPTED SOLUTION
mark_endicott
Super User
Super User

@Gandarthvader - try this:

 

VAR _30_days_ago = TODAY() - 30

RETURN
   COUNTROWS(FILTER('MPL',NOT(ISBLANK([Integration]))&&[Integration] > _30_days_ago ))

 

If this works, please accept it as the solution, it helps with the visibility for others with the same challenge. 

View solution in original post

2 REPLIES 2
Gandarthvader
Regular Visitor

Thank you @mark_endicott !

mark_endicott
Super User
Super User

@Gandarthvader - try this:

 

VAR _30_days_ago = TODAY() - 30

RETURN
   COUNTROWS(FILTER('MPL',NOT(ISBLANK([Integration]))&&[Integration] > _30_days_ago ))

 

If this works, please accept it as the solution, it helps with the visibility for others with the same challenge. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Users online (3,924)