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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
chicagolarsons
Frequent Visitor

Dax Measure: How Many Projects Starting in Next 30 Days?

Hi, 

I have written a measure to count how many projects start in the next 30 days, but it is not working and I'm hoping someone here can help me troubleshoot. As you can see in the table below, I have a list of projects, along with their start dates (mobilization).  My client would like to keep track of how many projects are mobilizing in the next 30, 60, 90, and 120 days. The measure I've written indicates there are no projects starting in the next 30 days, but lines 3 and 4 on the table below ARE starting in the next 30 days and should therefore have been counted. 

 

Here is the measure I've written:

ConStart+30 = CALCULATE(COUNTROWS('Project Tasks'), FILTER('Project Tasks', [Task Name]="Mobilization"), DATESINPERIOD('Calendar'[Dates], TODAY(), 30, day))
 
And here is the screenshot:
chicagolarsons_0-1719600405355.png

 

 

Thanks in advance for any help offered!

Kirstin

1 ACCEPTED SOLUTION
chicagolarsons
Frequent Visitor

I figured this out on my own, but will post the solution in case it helps others:

 

ConStart+30 = CALCULATE(COUNTROWS('Project Tasks'), FILTER('Project Tasks', [Task Name]="Mobilization" && [Start]>=TODAY()&&[Start]<=TODAY()+30))

View solution in original post

1 REPLY 1
chicagolarsons
Frequent Visitor

I figured this out on my own, but will post the solution in case it helps others:

 

ConStart+30 = CALCULATE(COUNTROWS('Project Tasks'), FILTER('Project Tasks', [Task Name]="Mobilization" && [Start]>=TODAY()&&[Start]<=TODAY()+30))

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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