Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have two tables in Power BI. Table 1 contains the following "Functions" column.
Table 2 has all the Functions for the slicer (one word per row).
I want to create a slicer using the column in Table 2 to that should let users select a single function and show all rows that "contain" that function. So if Data Analytics is selected, it should show the following two rows
I tried creating a relationship between both columns: many to many and cross filter both, but nothing seems to work. When I selected a function in the slicer, everything vanishes. I have no idea how to make this work. Please help!
Solved! Go to Solution.
Hi @Pintobean80
You can refer to the following solution.
Sample data
Table1
Tabke (2)
Create a measure
Measure = COUNTROWS(FILTER('Table (2)',CONTAINSSTRINGEXACT(MAX('Table'[Functions]),[FunctionsSlicer])))
Then put the measure to the visual filter.
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Pintobean80
You can refer to the following solution.
Sample data
Table1
Tabke (2)
Create a measure
Measure = COUNTROWS(FILTER('Table (2)',CONTAINSSTRINGEXACT(MAX('Table'[Functions]),[FunctionsSlicer])))
Then put the measure to the visual filter.
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Pintobean80
Create a relationship between two tables with Function column
Many to Many and Table 2 filter Table 1
Create a Slicer with a search option. Use the multi-select option. So users can search and select multiple value if needed
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Proud to be a Super User! | |
Unfortunately that doesn't work. I created the relationship as you said, and then created the slicer using the column in Table 2. I select anything, and the table just vanishes instead of showing the rows.
Please create a pbix containing sample data that still reflects your semantic model (tables, relationships, calculated columns, and measures). Upload the pbix to OneDrive, Google Drive, or Dropbox and share the link in this thread. If you are using a spreadsheet to create/import the sample data instead of the manual import method, share the spreadsheet.
Proud to be a Super User! | |
Here is a link to the sample. I tried again, and it seems to bring up only rows with that exact word but not the other rows that contain it.
Hi,
In the Query Editor, split the Functions column into rows using the ; delimiter. Now create a relationship (Many to One and Single) from the Functions column of Table 1 to Table 2.
I tried that but on the table, I want to see all functions for the each row. I don't want multiple rows of San Antonio with one function each. I want the single row of San Antonio with all 3 functions it contains shown.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 43 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 122 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |