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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AMBP1973
Helper II
Helper II

Countrows dates after today <6 months

Hello, 

I am looking for DAX to Countrows of a date column to show a result of number of dates between today and the next 6 months.

 

Any assistance is greatly appreciated. 🙂

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

Try the following formula: 

Measure = COUNTROWS(CALCULATETABLE('Table', DATESINPERIOD('Table'[Dates], TODAY(), 6, MONTH)))

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

Try the following formula: 

Measure = COUNTROWS(CALCULATETABLE('Table', DATESINPERIOD('Table'[Dates], TODAY(), 6, MONTH)))

Thankyou, much appreciated 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.