Conditional Visual Rendering (Show/Hide Visuals Based on DAX Conditions)
Power BI currently does not support true conditional visual rendering—the ability to show or hide a visual based on a DAX-measured condition.
I attempted to hide a Card visual when a specific business condition was not met, and display it only when the condition was true. However:
There is no direct “Visible = TRUE/FALSE” property for visuals.
Bookmarks cannot achieve this, because they require manual selection of which visuals appear in a bookmark, and they cannot dynamically respond to changing filter or DAX conditions.
Workarounds such as using transparency, layering shapes, or changing text color do not solve the problem, especially for accessibility and report cleanliness.
Proposed Feature
Add a Conditional Visual Rendering option for visuals where users can define a DAX-based rule such as:
Or in the formatting pane:
Visibility → Conditional formatting → Based on field
This would allow Power BI to dynamically show or hide visuals—including Cards, Tables, Charts, Buttons—based on real-time data conditions.
Impact / Benefits
Cleaner user experience (hide irrelevant information)
Eliminates UI clutter when conditions are not met
Supports advanced guided-analytics scenarios
Enables more flexible dynamic reporting without needing bookmarks or overly complex workarounds
1 Comment
- mike_honeyMemorable MemberGreat idea! In my mind, this needs some UI a bit like conditional formatting, so we can configure tests against field or measure values. If this feature is implemented to only accept true/false values, we will have to code a lot of very specific measures.