This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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
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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 31 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 76 | |
| 59 | |
| 31 | |
| 31 | |
| 25 |