Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rargyle
Advocate II
Advocate II

Multiple Attribute Permutations - How to analyse groupings of items

Hi all

I've been trialling, researching, and going round in circles for weeks on this challenge and finally admitted I need some help from this community.

I have a data set containing student data. The original data has a row per student, and multiple columns for each personal characteristic (or their enrolled course characteristics). I need to be able to show combinations of these characteristics, and show how many students there are in each combination. The solution needs to be dynamic, catering for any number of characteristic types (generally will be between 5 and 20).

So far, I've pivotted the characteristic columns into Attribute and Value, and created a fact table, and Attribute-Value lookup table.

I've also created a Person-AttributeList table, with concatenated list of all Attribute-Values per student.

I've also used clusters on the Person-AttributeList which is showing clusters for ALL Person-Attributes, however I need to be able to select just one or more Attributes, and see a breakdown of number of people per Attribute-Value combination.

I've created a sample dataset and pbix file which is linked below.

In the sample, there are just 10 people, each with Attribute-Values for Age Group, Gender, Glasses, and Hair Colour. I want to be able to select (for example) Gender and Age Group in an Attribute slicer, and see how many people are "Male, 10-19 years", "Female, 10-19 years", "Male, 20-29 years" etc. This needs to not only show in a table, but also be used as a legend for charts too (and this is one area where I have got stuck as Measures can't be used for Legend).

Many thanks for any advice, links, suggestions or solutions anyone can assist me with 🙂


Attribute Permutations PBIX 

1 REPLY 1
lbendlin
Super User
Super User

see how many people are "Male, 10-19 years", "Female, 10-19 years", "Male, 20-29 years" etc

Power BI does not currently support OR filters across columns. If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.powerbi.com

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.