cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
waltersbrf
Regular Visitor

Group the same item into more than one group and use as a selector

Hi all,

I have the following problem.

I have a dashboard with several charts that contain various calculations.

I would like to place a selector from a group of items in a dimension.

For example:
Item
A
B
C
D
E


I would like to group it like this:
Group 1 = A, B
Group 2 = A, B, C
Group 3 = D, E
Group 4 = A, B, C, D, E

That way I would like the selector to have the items grouped together.
And when choosing one of these groups, the entire dashboard would show the calculations based on that item group.

Thanks.

1 ACCEPTED SOLUTION
hnguy71
Solution Sage
Solution Sage

@waltersbrf ,

You would need to create a table similar to this:

 

hnguy71_0-1653698580085.png

 

And then add the grouping to your slicer to be able to get the calculations for these groups, and then of course, create a relationship back to your base table where you're getting the item id/name from.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

2 REPLIES 2
hnguy71
Solution Sage
Solution Sage

@waltersbrf ,

You would need to create a table similar to this:

 

hnguy71_0-1653698580085.png

 

And then add the grouping to your slicer to be able to get the calculations for these groups, and then of course, create a relationship back to your base table where you're getting the item id/name from.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
amitchandak
Super User
Super User

@waltersbrf , You have to create one more table with multiple groups and need to have many to many join with that

 

Group item

1 A

1 B

2 A

 

And so on

 

Something similar done in this video - Single Select with Select All : https://youtu.be/plGqCEZRfXU



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors