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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
RudyV
Frequent Visitor

Combine and group selected vendor from 2 slicers(Group 1 slicer and Group 2 slicer)

Hi, Good day. I'm a powerbi newbie and working on a requirement to combine group of vendors from 2 vendor slicers(Group 1 and Group 2) . The use case is a vendor comparator-heat map where I created 2 slicers and user will select a group 1 vendors and group 2 vendors(both are multi select) and I have a bubble map where I put the province in the Location parameter and I put the grouping("Group 1" for vendors selected in slicer 1 and "Group 2" for vendors selected in slicer 2) in the Legend parameter and I put the sales$ in the bubble size . So I created a dax colum to identify the selected vendors from the 2 vendor slicers. Please note the 2 slicers have the same list of vendors and user need to select which vendor to group in Group 1 from Slicer 1 and which to group in Group 2 from Slicer 2. See below my dax colum code but the result didn't give the output I expected. So the code perfectly capture the selected vendors from each slicers but it only group under group 1 even if user selected Microsoft and Acer in Slicer 2. See below my dax code and my validation table where it grouped all selected vendors only to Group 1 and see as well my bubble map where the bubble is only showing group 1. So can you check what's wrong with my dax code or is there a better solution you can suggest. Thanks a lot in advance and I will appreciate any help you may extend.

Just an additional info. I only have one fact table and 2 slicers and one bubble map.

 

RudyV_0-1704915596885.png

 

 

RudyV_1-1704915619612.png

 

 

 

 

RudyV_2-1704915642375.png

 

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi, @RudyV 

 

According to your description, you want to realize the merging and grouping of selected suppliers using the slicer, in fact, in the current version cannot realize your needs, to realize the grouping you must create a Column, the Column is a fixed value after the creation of a fixed value, will not change with the change of the slicer. You can submit an idea for here and the product team will take note of such a need. Or you can solve your problem in other ways, such as whether or not to create snapshots.

 

Related Link: New tab (powerbi.com)

Whether or not to create snapshots: Like-for-like comparison – DAX Patterns

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Hi Yang,

 

Thanks for the feedback. I already applied the same temp solutions that you mentioned for a specific vendors that user required  and hardcoded it in a new column but since different users maintain different vendors I need now to make  it dynamic where it will be controlled by slicer . Anyway, will take a look in the reference link that your shared for snapshot concept. Thanks again and will let you know for any progress.

 

Regards, 

RudyV

RudyV
Frequent Visitor

Hi Yang, Hope all is well with you. Just an fyi that I figured out the solutions for my grouping issue and I just created a dax new table with the union of group 1 slicer and group 2 slicer and created a measure evaluating if the vendor exist in the selected slicer for both grouping. See below. 

RudyV_1-1706827197851.png

 

Regards,

RudyV

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.