Forum Discussion

szeho's avatar
szeho
Regular Visitor
4 years ago

How to hide slicer

I have a slicer in left side, I need to show two slicer(A&B) and one legend) once I choose one of the options on this slicer, and hide the legend at the same time.

Now, I can hide the legend once I choose it, but that two slicer can not hide when the left side slicer is 'All'.

 

I use the same funtion for it.

for legend

for slicer

 

display control-S =
var a = SELECTEDVALUE(D_S_B[Strategic Bank Partner])
return IF(ISBLANK(a),0,1)
 
Why I can't hide slicer A & B?

1 Reply

  • szeho , Try this one

    int(isfiltered(calculate(D_S_B[Strategic Bank Partner], allselected())))