Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi There,
I'm hoping to get your assistance with the following..
What I want to achieve with my dashboard is to allow my users to select a single value and that will filter the full paged based on their selection. The difficulty I’m having is that the data I would like to filter on, is present across multiple columns. Using the data below as an example, if my user was interested in 'DEF' as a component, then the filter would then return all rows where rowNum = 1, 2 and 3.
RowNum | Components | Component_1 | Component_2 | Component_3 | Assigned_To | Created_On |
1 | [ABC, DEF, GHI] | ABC | DEF | GHI | User1 | 1/01/2021 |
2 | [DEF, GHI, JKL] | DEF | GHI | JLK | User2 | 1/02/2021 |
3 | [ABC, DEF, JKL] | ABC | JKL | DEF | User2 | 1/03/2021 |
4 | [XYZ, LMN] | XYZ | LMN |
| User3 | 1/04/2021 |
5 | [ABC] | ABC |
|
| User1 | 5/02/2021 |
6 | [NOP, KLM, HIJ] | NOP | KLM | HIJ | User4 | 6/04/2021 |
7 | [] |
|
|
| User4 | 18/01/2021 |
What i have done so far -
Any assistance you can offer in this would be greatly appreciated.
Cheers,
Sam
Solved! Go to Solution.
Hi @samcox88 ,
I create a separate table based on all unique values across one column. Like this:
Use the column as a slicer .
Then create a measure to judge whether the specified content is in data table[Components], if it is ,returns 1;if it is not, return 0, and then filter the value of measure in the visual filter and set it to display only 1. The result returned is what you want .
Measure =
var _measure =
var _a=SELECTEDVALUE('Table (2)'[Component])
var _b=SELECTEDVALUE('Table'[Components])
return CONTAINSSTRING(_b,_a)
return if (_measure,1,0)
The effect is as shown:
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @samcox88 ,
I create a separate table based on all unique values across one column. Like this:
Use the column as a slicer .
Then create a measure to judge whether the specified content is in data table[Components], if it is ,returns 1;if it is not, return 0, and then filter the value of measure in the visual filter and set it to display only 1. The result returned is what you want .
Measure =
var _measure =
var _a=SELECTEDVALUE('Table (2)'[Component])
var _b=SELECTEDVALUE('Table'[Components])
return CONTAINSSTRING(_b,_a)
return if (_measure,1,0)
The effect is as shown:
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Remove the second column and then right click on the first column's heading and select "Unpivot other columns".
The table you have is not fit for modeling in PBI. You must unpivot columns Component_1, *_2, *_3 first or create a bridge table from this one to a table that holds all individual components. Then it'll be very easy to do what you want.
Here's how to do Modeling in PBI or here.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
42 | |
30 | |
27 | |
26 |