Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
Could someone help me on the below please? I'm looking for a dax measure to count 3x separate items.
Overdue (Count Task ID - Status Open and Due Date past todays date)
Approaching - (Count Task ID - Status Open and Due Date within the next 30 days)
In Date - (Count Task ID - Status Open and Not Due in next 30 Days)
TIA!
Solved! Go to Solution.
Hi @Anonymous ,
Here I create a sample to have a test.
Measure:
Count Overdue = CALCULATE(COUNT('Table'[Task ID]),FILTER('Table','Table'[Status] = "Open" && 'Table'[Due Date]<TODAY()))Count Approaching = CALCULATE(COUNT('Table'[Task ID]),FILTER('Table','Table'[Status] = "Open" && 'Table'[Due Date]<=TODAY()+30 && 'Table'[Due Date]>=TODAY()))Count In Date = CALCULATE(COUNT('Table'[Task ID]),FILTER('Table','Table'[Status] = "Open" && 'Table'[Due Date]>TODAY()+30))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
A little bit of additional context would help. I am looking for:
1. Do you need 3 seperate outputs (matrix with 3 values as outputs) or everything in 1 (based on selected taskID)
Hi @Anonymous ,
Here I create a sample to have a test.
Measure:
Count Overdue = CALCULATE(COUNT('Table'[Task ID]),FILTER('Table','Table'[Status] = "Open" && 'Table'[Due Date]<TODAY()))Count Approaching = CALCULATE(COUNT('Table'[Task ID]),FILTER('Table','Table'[Status] = "Open" && 'Table'[Due Date]<=TODAY()+30 && 'Table'[Due Date]>=TODAY()))Count In Date = CALCULATE(COUNT('Table'[Task ID]),FILTER('Table','Table'[Status] = "Open" && 'Table'[Due Date]>TODAY()+30))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 24 | |
| 23 | |
| 17 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 41 | |
| 39 | |
| 39 | |
| 38 |