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
Hi there,
I'm connected to SQL Server Analysis Services database and wso I can't create columns, only new measures. I have a table with Project IDs which have an associated Due Date.
I'd like to calculate how many projects have an overdue date. Very new to DAX and I'm finding it hard to follow some of the examples I've seen.
Table Name - CRI
Project ID - CRI ID
Due Date - Rarget/Resolution Date
I've calculated a separate measure for Today's Date but I'm sure that can be written into the formula. So basically I'd like to create Card visual that shows the total number projects (CRI ID
Solved! Go to Solution.
@Anonymous ,
new measure =
Countx(Filter(CRL, CRL[Rarget/Resolution Date] >today() ), CRL[ CRI ID] )
or
Countx(Filter(CRL, CRL[Rarget/Resolution Date] <= today() ), CRL[ CRI ID] )
Legend, thanks Amit
@Anonymous ,
new measure =
Countx(Filter(CRL, CRL[Rarget/Resolution Date] >today() ), CRL[ CRI ID] )
or
Countx(Filter(CRL, CRL[Rarget/Resolution Date] <= today() ), CRL[ CRI ID] )
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 23 | |
| 23 | |
| 14 |
| User | Count |
|---|---|
| 46 | |
| 33 | |
| 20 | |
| 18 | |
| 16 |