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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
anaxha
Frequent Visitor

1 value in 2 values in filter

Hello everyone, 

I have a problem. I have data similar to shown below (but many more):

Zrzut ekranu 2022-10-14 154819.png

Now I want to filter the data, so in filter I only want to see single values: A,B,C,D,X,Z,BVG and if I choose "B" I want to see the data for: "A,B", "B;C" and "B" (but not BVG) and if I click "A" I want to see the data for "A", "A,B" and "A,X,Z".

I tried text filters but problem is when I type "B" the data for "BVG" is also shown.

Is there any way it can be done?

Thank You in advance

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@anaxha , Refer the file attached after signature. Steps :

Create a table with this column in power Query - https://www.youtube.com/watch?v=kU2M1LmNvNo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=2

 

Then duplicate this column in new table and then split by delimiter into rows

Power Query Split Column, Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

 

In the model, view join this table with your original table , many to many join, filter direction from new table to your table

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@anaxha , Refer the file attached after signature. Steps :

Create a table with this column in power Query - https://www.youtube.com/watch?v=kU2M1LmNvNo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=2

 

Then duplicate this column in new table and then split by delimiter into rows

Power Query Split Column, Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

 

In the model, view join this table with your original table , many to many join, filter direction from new table to your table

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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