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
I created a matrix with client names and colums of different policy types. the measure in the matrix, is the count of distinct plicy numbers. I want to be able to only filter the # of clients who had nonblanks in atleast 2 of my column categories ( the type of policy), in other words they have more than one policy type.
So it looks like in your example data, each person has 1 policy number, but can have different types of policy under that same policy number? What happens when you use COUNT of policy number instead of DISTINCTCOUNT?
I would use a count of the category column insetad of distinct policy numbers, so that the total comes out correct. You may have to use a measure like this to create a visual level filter or slicer:
NumberOfCategories = COUNT(Policies[Type])
and then filter on that where it's greater or equal to 2.
Could you share how you have your table(s) structured? It would help us give you a better answer
@Anonymous
I could misunderstand your question, but you can use the filter of the visual to set conditions of the returned rows.
I cant because the policy categories always has a value, i want to be able to count for each row, if there is more than 1 policy type. which means i need to filter my policy categories (columns) to show me if there is atleast 2 non blanks.
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 | |
| 18 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 53 | |
| 47 | |
| 40 | |
| 38 |