Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Team,
Hope all are doing good. I need your support to resolve one issue which i come across while presenting the matrix table.
In my matrix table in rows i have two value like "%Days in Office" and "Personal_ID". While expanding the %Days in office all Personal ID in each category is shown up, but i need to show only those which is having Head Counts as 1 or WFO Avg ACT is having some value. Please see how it comes while exapanding below.
In the above under >90% category all Personal ID is coming up, but i want to show only those having Total HC value as 1 in those category like
To achieve this i have written a measure and used it instead of Personal ID in rows, but this measure itself is not dragged to the rows.
------
Solved! Go to Solution.
To filter the Personal_ID values in each %Days in Office category so that only IDs with a Head Counts measure equal to 1 or with non-blank WFO Avg ACT values are shown, you’ll need to use a measure that checks these conditions. Here’s a step-by-step approach:
1. Create a Filter Measure:
This measure checks if Head Counts is 1 or if WFO Avg ACT has a value. You can use this measure to dynamically filter Personal_ID values in the matrix.
DAX
ShowPersonalID =
IF(
[Head Counts] = 1 || NOT(ISBLANK([WFO Avg ACT])),
1,
0
)
2. Filter Using the Measure:
With the ShowPersonalID measure created, you can use it as a visual-level filter in your matrix to filter out any Personal_ID rows where the measure evaluates to 0.
> Go to your matrix visual, then in the Filters pane, apply a filter to ShowPersonalID and set it to show only values of 1.
> This will ensure that only Personal_IDs meeting the conditions appear in each %Days in Office category.
3. Alternative - Measure for Dynamic Row Display:
If you still need to display specific rows in the matrix directly without relying on Personal_ID in the row field, you could create another measure that pulls only those IDs satisfying the conditions:
DAX
FilteredPersonalIDs =
CONCATENATEX(
FILTER(
VW_ARC_SKILL,
[Head Counts] = 1 || NOT(ISBLANK(VW_ARC_SKILL[WFO Avg ACT]))
),
VW_ARC_SKILL[Personal_ID],
", "
)
Use FilteredPersonalIDs in a card or matrix visual if you need to see these values together without adding Personal_ID as a row in the matrix.
Thanks a lot for such a prompt response. It really helped and solved the problem.
Thanks a lot again.
Regards,
Sagar
To filter the Personal_ID values in each %Days in Office category so that only IDs with a Head Counts measure equal to 1 or with non-blank WFO Avg ACT values are shown, you’ll need to use a measure that checks these conditions. Here’s a step-by-step approach:
1. Create a Filter Measure:
This measure checks if Head Counts is 1 or if WFO Avg ACT has a value. You can use this measure to dynamically filter Personal_ID values in the matrix.
DAX
ShowPersonalID =
IF(
[Head Counts] = 1 || NOT(ISBLANK([WFO Avg ACT])),
1,
0
)
2. Filter Using the Measure:
With the ShowPersonalID measure created, you can use it as a visual-level filter in your matrix to filter out any Personal_ID rows where the measure evaluates to 0.
> Go to your matrix visual, then in the Filters pane, apply a filter to ShowPersonalID and set it to show only values of 1.
> This will ensure that only Personal_IDs meeting the conditions appear in each %Days in Office category.
3. Alternative - Measure for Dynamic Row Display:
If you still need to display specific rows in the matrix directly without relying on Personal_ID in the row field, you could create another measure that pulls only those IDs satisfying the conditions:
DAX
FilteredPersonalIDs =
CONCATENATEX(
FILTER(
VW_ARC_SKILL,
[Head Counts] = 1 || NOT(ISBLANK(VW_ARC_SKILL[WFO Avg ACT]))
),
VW_ARC_SKILL[Personal_ID],
", "
)
Use FilteredPersonalIDs in a card or matrix visual if you need to see these values together without adding Personal_ID as a row in the matrix.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
61 | |
56 | |
55 | |
36 | |
34 |
User | Count |
---|---|
77 | |
73 | |
45 | |
45 | |
43 |