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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.