Forum Discussion

Bahneby's avatar
Bahneby
Frequent Visitor
4 years ago
Solved

Hide Visual if too many categories selected

Hello everyone,

 

I would like to hide a clustered column chart, if too many categories are selected from slicer.

 

 

 

If there are for example more than 4 categories selected, the visual will be too full and one cannot compare the values.

Is there an option to hide the visual, if there are more than 4 categories selected?

 

One option is to put a card in front of the picture, but then, there are no interactions with this visual possible.

I only found solutions, to hide visuals, if exact one category is chosen.

 

Thank you in advance!

  • Bahneby , Try to create a measure like

    if(calculate(distinctcount(category[category]), allselected()) >4, Blank(), [measure])

1 Reply

  • Bahneby , Try to create a measure like

    if(calculate(distinctcount(category[category]), allselected()) >4, Blank(), [measure])