Forum Discussion

Riley22's avatar
Riley22
New Member
1 year ago
Solved

Text box or visual to hide a graph based on a filter

Hi, I've really tried searching for a solution but there isn't anything that quite works for what I need!   I have graphs and cards that I need to hide based on a filter but I'd also like a text b...
  • TomOs's avatar
    1 year ago

    Had to deal with this for a client-facing PowerPoint export, tricky without bookmarks. One workaround that worked for me was layering a card visual with the warning message and using a measure like yours to control both its visibility and the transparency of the underlying graph via conditional formatting.

     

    You can’t hide a textbox directly, but you can fake it using a card visual with no border and transparent background. Use the same logic to dim or blank the chart underneath by setting its data colors or title to white when the filter is triggered. Not perfect, but works reliably in exports.