This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 25 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |