Forum Discussion
Once Slicer for multiple columns
- 8 years ago
Hi Anonymous,
There is a solution below. Please check out the demo in the attachment.
1. Create a new table as slicer table.
SlicerTable = DISTINCT ( UNION ( VALUES ( Table1[Part One] ), VALUES ( Table1[Part Two] ), VALUES ( Table1[Part Three] ), VALUES ( Table1[Part Four] ), VALUES ( Table1[Part Five] ) ) )2. Rename the column name of the new table. (optional)
3. Do not establish any relationships!
4. Create a measure.
Measure = IF ( MIN ( 'Table1'[Part One] ) IN VALUES ( SlicerTable[values] ) || MIN ( 'Table1'[Part Two] ) IN VALUES ( SlicerTable[values] ) || MIN ( 'Table1'[Part Three] ) IN VALUES ( SlicerTable[values] ) || MIN ( 'Table1'[Part Four] ) IN VALUES ( SlicerTable[values] ) || MIN ( 'Table1'[Part Five] ) IN VALUES ( SlicerTable[values] ), 1, BLANK () )Best Regards,
Dale
Hi there,
I am trying to implement a similar slicer and was already able to implement this solution. However, I would like to be able to select multiple values in the slicer and then have it display only the rows that posses all these functions, and not just one of them as it does now.
For example if in this case I would select 'base management' and 'production shope' it would only display the 1st, 3rd and 8th row.
Thanks in advance!
- msraymch6 years agoFrequent Visitor
Hi Anna,
Were you able to find a solution to this problem? I am running into the same issue.
Thanks!
- Anonymous6 years agoNot applicableUnfortunately, I haven't. I'll be working on it again today and if I figure anything out I'll share it here and on your thread. Cheers! Anna
- Artie6 years agoFrequent Visitor
Hi there,
Just thinking outloud. Have you tried unpivoting the data?
Perhaps you can come with a table with the following columns:
Threat, Node,Activity, Part, Code (value).
Then make up a matrix visual and use column "Part" as the column header.
The only "inconvenience" for your users is that the matrix would be dynamic, would show columns only when there is information. The other one is that data can not be exported to Excel in a tabular way but linear (most of users want to see the exported data as it shows in Power Bi).
Regards.
