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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
syeena
Frequent Visitor

Accessing Data using Slicers

hi there, I have a table of customer shopping list, there is a column called Category where for instance a customer bought 2 items of different category ( example : clothing and food & beverages). Therefore in the selected customer's row, the quantity is 2 and category is clothing, food & beverages. When accessing the category column using slicers, when i select clothing, the specific row does not show up. it only display the category that has one clothing only instead of displaying all the categories that includes clothing in it. how do i make this work?

cust_idquantitycategory
0011clothing
0021food & beverages
0032clothing, food & beverages

from example table above, when i select 'clothing' category using slicers, it only display the info for cust_id 001 instead of display both cust_id 001 and cust_id 003. how do i fix this?

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@syeena , To resolve this split the category in Power Query

plit the Column by Delimiter:

Select the "category" column.
Go to the "Transform" tab, click on "Split Column," and choose "By Delimiter."
Choose the delimiter (in your case, it seems to be a comma followed by a space ", ").
Unpivot the Columns:

After splitting, you will have multiple columns for categories.
Select the columns that were created from the split.
Go to the "Transform" tab and click on "Unpivot Columns."
Rename Columns:

Rename the resulting columns to something meaningful, like "category" and "value."

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

2 REPLIES 2
bhanu_gautam
Super User
Super User

@syeena , To resolve this split the category in Power Query

plit the Column by Delimiter:

Select the "category" column.
Go to the "Transform" tab, click on "Split Column," and choose "By Delimiter."
Choose the delimiter (in your case, it seems to be a comma followed by a space ", ").
Unpivot the Columns:

After splitting, you will have multiple columns for categories.
Select the columns that were created from the split.
Go to the "Transform" tab and click on "Unpivot Columns."
Rename Columns:

Rename the resulting columns to something meaningful, like "category" and "value."

 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






thank you so much!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.