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 everyone!
Super new, and mostly self taught in Power Bi Destkop. I have gotten a lot of help building measures from this forum but I have not been able to find the help I need for this issue.
I'm trying to build a matrix that looks like this:
See a sample table that matches this desired visual above to this post to make it easier to help at the bottom of the page.
Here's one of the measures I have tried:
Also this one (and every variation I can think of):
Any help would be greatly appreciated as I've reached my knowledge limitation.
Sample Table:
| Site | Start_Date | Exams_Needed | Current_Status | Finish_Date |
TX | 2/22/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 2/22/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 2/22/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 2/22/2022 | B,C | B 2nd Attempt | 15-Jul |
| NC | 2/22/2022 | B,C | B 2nd Attempt | 15-Jul |
| NC | 2/22/2022 | B,C | C 1st Attempt | 1-Jun |
| NC | 2/22/2022 | B,C | C 1st Attempt | 1-Jun |
| TX | 2/22/2022 | None | Exams Complete | 1-Apr |
| AZ | 3/7/2022 | C | C 1st Attempt | 10-Jun |
| AZ | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| NC | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| NC | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| TX | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| NC | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| NC | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| PA | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| PA | 3/21/2022 | A,B,C | A 1st Attempt | 10-Aug |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| NC | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| NC | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| NC | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| NC | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| PA | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| NC | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| PA | 3/21/2022 | B,C | B 1st Attempt | 15-Jul |
| TX | 3/21/2022 | B,C | C 1st Attempt | 15-Jul |
| AZ | 3/21/2022 | None | Exams Complete | 10-May |
| TX | 3/21/2022 | None | Exams Complete | 10-May |
| AZ | 4/4/2022 | B,C | Prehire | |
| AZ | 4/4/2022 | B,C | Prehire | |
| AZ | 4/4/2022 | A,B,C | Prehire | |
| AZ | 4/4/2022 | A,B,C | Prehire |
Solved! Go to Solution.
@azlocal21 , Try a measure like
var _max = VAR _MostRecentFilter = MAXX( Filter( allselected('Table1') , 'Table1'[Start_Date]<=Today()) ,'Table1'[Start_Date])
Return
calculate(count('Table1'[Start_Date]), filter('Table1', 'Table1'[Start_Date] =__max))
@azlocal21 , Try a measure like
var _max = VAR _MostRecentFilter = MAXX( Filter( allselected('Table1') , 'Table1'[Start_Date]<=Today()) ,'Table1'[Start_Date])
Return
calculate(count('Table1'[Start_Date]), filter('Table1', 'Table1'[Start_Date] =__max))
When I tried that this is the error message it gives me.
The syntax for ')' is incorrect. (DAX(var _max = VAR MostRecentFilter = MAXX( Filter( allselected('Table1') , 'Table1'[Start_Date]<=Today()) ,'Table11'[Start_Date])Returncalculate(count('Table1'[Start_Date]), filter('Table1', 'Table1'[Start_Date] =_max)))).
**Update**
I removed the VAR _MostRecentFilter from the measure and that works great for giving me the number or most recent hires for the most recent start date.
The problem I am having now is that the finish date is pulling the earliest date for every exam path.
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 |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 40 | |
| 40 | |
| 40 |