Forum Discussion
Filtering Mixed Groups
- 6 years ago
Hi, Anonymous
You can create three calculated table as follows.PressureSlicer = DISTINCT('Table'[Pressure]) SizeSlicer = DISTINCT('Table'[Size]) SystemSlicer = DISTINCT('Table'[System])Then you may create three measures as follows.
ContainPressure = IF ( SUMX ( FILTERS ( 'PressureSlicer'[Pressure] ), IF ( CONTAINSSTRING ( SELECTEDVALUE ( 'Table'[Pressure] ), [Pressure] ), 1, BLANK () ) ) <> 0, 1, 0 ) ContainSize = IF( SUMX( FILTERS( SizeSlicer[Size] ), IF( CONTAINSSTRING(SELECTEDVALUE('Table'[Size]),[Size]), 1, BLANK() ) )<>0, 1, 0 ) ContainsSystem = IF( SUMX( FILTERS( SystemSlicer[System]), IF( CONTAINSSTRING(SELECTEDVALUE('Table'[System]),[System]), 1, BLANK() ) )<>0, 1, 0 )Finally, you may put these measures in visual level filters and configure as follows.
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Anonymous
You can put fields 'System', 'Pressure', and 'Size' into slicer visuals, put the your desired fields into Table visual. When you make some selections in slicers, the table visual will return corresponding result. If you need the slicer works on the dashboard in Power BI service, you might click 'Pin a live Page' to pin the current page to the dashboard.
If I misunderstand your thoughts, please inform me of your expected output. I am glad to solve the problem for you.
Best Regards,
Allan
If this post helps, then please consider 'Accept it as the solution' to help the other members find it more quickly.