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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Base Slicer Selection on two columns

Hello,

 

I've got following problem:

 

I have a table that looks a bit like this:

Product IDCategory1Category2Revenue
1Dresses 100
2Dresses 200
3JacketsSport300
4Sport 400
5Shoes 500

 

Now, I have a Slicer through which I only visualise the Revenue for Products from one Category. Now I basically want to find a way to select "Sport" and visualise Product 3 and 4.

 

Thankful for every workaround idea!

 

Leon

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Go to Edit queries,

create a duplicate table Table2,

In Table2, unpivot columns "category 1" and ""category 2",

filter "Value" column to remove empty,

close&&apply.

 

Create relationship between Table1 and Table2 on "Product ID"

5.png

Add "value" from Table2 in a slicer.

3.png

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Is this problem sloved? 

If it is sloved, could you kindly accept it as a solution to close this case?

If not, please let me know.

 

Best Regards

Maggie

v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Go to Edit queries,

create a duplicate table Table2,

In Table2, unpivot columns "category 1" and ""category 2",

filter "Value" column to remove empty,

close&&apply.

 

Create relationship between Table1 and Table2 on "Product ID"

5.png

Add "value" from Table2 in a slicer.

3.png

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

So that if I visualised the table, it would only be

Product IDCategory1Category2Revenue
3JacketsSport300
4Sport 400

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors