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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
pvanolinda
Frequent Visitor

Compatibility List Query

I have a client who manage and maintain equipment. They created a battery list and I want to use Power BI to make it easy for them to see compatible models. One column is used to group the batteries by compatibility using a number (e.g. 6 different batteries are set to group 100, 3 are set to group 200, etc.). I was thinking of using a slicer showing all models so they can come into the Power BI dashboard, click a model and then see all other compatible models in a matrix visual. I can't figure out how to make this happen without creating a second slicer showing the groups. They would then need to select a model to show the correct group, select it from the group slicer, then de-select the model. Is there a way to do this without the extra steps?

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

OK, this is a bit complicated but seems to work.

 

Import your Batteries list twice, the whole thing, or at least Model and Group.

 

Create a separate query just for unique Groups

 

Relate both Battery lists to Groups by Group column

 

In Batteries table in data model, add the following calculated column:

 

Column = CONCATENATEX(RELATEDTABLE(Batteries2),Batteries2[Model],",")

Now, you can put a table on your report that lists "Column", when they select the battery model in the slicer, they will see the compatible batteries.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

OK, this is a bit complicated but seems to work.

 

Import your Batteries list twice, the whole thing, or at least Model and Group.

 

Create a separate query just for unique Groups

 

Relate both Battery lists to Groups by Group column

 

In Batteries table in data model, add the following calculated column:

 

Column = CONCATENATEX(RELATEDTABLE(Batteries2),Batteries2[Model],",")

Now, you can put a table on your report that lists "Column", when they select the battery model in the slicer, they will see the compatible batteries.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks so much for the tip - that worked great!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors