Forum Discussion
Visualization filter based on selection that contains similar text in another column
- Anonymous4 years ago
Hi Mighty_Andrew ,
Here are the steps you can follow:
1. Enter Power query, select [MPN], and click Home – Split Column.
2. Select [MPN.1], [MPN.2], [MPN.3], [MPN.4], [MPN.5] that form the table, and click Transform – Unpivot Columns.
Result:
3. Create calculated table.
Slice = DISTINCT('Table'[Product])4. Create measure.
Flag = var _selectedvalue=SELECTCOLUMNS(FILTER(ALL('Table'),'Table'[Product] in ALLSELECTED(Slice)),"1",'Table'[Value]) return IF(MAX('Table'[Value]) in _selectedvalue,1,0)5. Place [Flag]in Filters, set is=1, apply filter.
6. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
if you want to obtain this result :
You can modify your query this way:
- duplicate your MPN column
- Slit your duplicated column by delimiter
- then in your canvas you can add a filter on single MPN.
If this post isuseful to help you to solve your issue consider giving the post a thumbs up and accepting it as a solution !