Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.