Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
credit_check
Frequent Visitor

Conditionally display a visual based on a measure's value (no slicers or user interaction involved)

Hello.

 

Is there a way to show/hide a visual (a card, table, matrix) when the report is launched, based on the value of a measure. This does not depend on user interaction, such as using a slicer (my report won't have any).

 

In the sample report attached, if the measure's value = 1 I want the card to be hidden, else displayed. The "Show items when the value" option is disabled.

 

credit_check_0-1706297391435.png

 

 

Thanks.

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

@credit_check 

 

power bi doesnt support this as far as i know .

added to this, you can't add a measure to the filter pane for kpi visuals. 

 

 

what you can do, is in the dax code

check if your measure returns certain value  , then blank() , else , [ your calculation] 

 

drag and drop this measure to the visual.

 

although this wont hide the visual, but the visual will show no data when your condition is met .

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos button 👍🤠

View solution in original post

1 REPLY 1
Daniel29195
Super User
Super User

@credit_check 

 

power bi doesnt support this as far as i know .

added to this, you can't add a measure to the filter pane for kpi visuals. 

 

 

what you can do, is in the dax code

check if your measure returns certain value  , then blank() , else , [ your calculation] 

 

drag and drop this measure to the visual.

 

although this wont hide the visual, but the visual will show no data when your condition is met .

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos button 👍🤠

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors