Forum Discussion
ManuelGeiger
3 years agoHelper I
Keep specific rows in table visual
Hey all, Is there a way to keep specific rows in a table visual no matter what you filter on? In my case I have a Bill of Material build with multiple levels which means a level 1 item could con...
- 3 years ago
Hey MFelix ,
Thanks for your answer. The data structure is just a table. Same as shown in the screenshot above
ManuelGeiger
3 years agoHelper I
Hey MFelix ,
Thanks for your answer. The data structure is just a table. Same as shown in the screenshot above
MFelix
3 years agoSuper User
HI ManuelGeiger ,
Add a table for the slicer:
Try the following measure:
Repair Filter =
VAR temptalbe =
FILTER (
SUMMARIZE (
ALL ( 'Table'[Serial number], 'Table'[Repair] ),
'Table'[Serial number],
'Table'[Repair]
),
'Table'[Repair] = "X"
)
VAR SerialNumber =
DISTINCT ( SELECTCOLUMNS ( temptalbe, "SerialNumber", 'Table'[Serial number] ) )
RETURN
SWITCH (
SELECTEDVALUE ( 'Repair Slicer'[Repair] ),
"Yes", IF ( SELECTEDVALUE ( 'Table'[Serial number] ) IN SerialNumber, 1 ),
"No", IF ( NOT ( SELECTEDVALUE ( 'Table'[Serial number] ) IN SerialNumber ), 1 ),
1
)
Use the measure has a filter on the table and select has is not blank: