Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello i'm dealing with a column which has multiple values in Power Bi.
I'm trying to find a way to how to filter ?
Exemple : when i select Adidas in filter, i will have the two first rows.
i have to precise that i have 15 brands, and the output in Brand Column depends on the choice of people
I don't want to Split, and pivot the column because i will have a duplicated rows. is there any way ?
@DTSpowerbi @Anonymous @MaxPowerBI
Solved! Go to Solution.
You can use a MEASURE as visual filter.
Please see attached file with your sample data
Measure = IF ( CONTAINSSTRING ( SELECTEDVALUE ( Data[Brand] ), SELECTEDVALUE ( FilterTable[Filter] ) ), 1 )
Hi @mokrane_bob ,
I would add a separate table with two columns and filter in that table. Table could look like this:
Brand multiple | Brand |
Adidas, Puma, Tommy Hilfiger | Adidas |
Adidas, Puma, Tommy Hilfiger | Puma |
Adidas, Puma, Tommy Hilfiger | Tommy Hilfiger |
Adidas, Nike, Asics | Adidas |
Adidas, Nike, Asics | Nike |
Adidas, Nike, Asics | Asics |
Nike, Zara, Channel | Nike |
Nike, Zara, Channel | Zara |
Nike, Zara, Channel | Channel |
Hugo Boss, Puma | Hugo Boss |
Hugo Boss, Puma | Puma |
Thus, you could make a relationship between your column and that new table.
Regards, Max
Hi @MaxPowerBI
It would be a greate solution if i have a constent input in the Column
but my problem is that the input in the Column changes every time. i can have Thousands of rows with multiple combinaison of those Brand.
You can use a MEASURE as visual filter.
Please see attached file with your sample data
Measure = IF ( CONTAINSSTRING ( SELECTEDVALUE ( Data[Brand] ), SELECTEDVALUE ( FilterTable[Filter] ) ), 1 )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |