cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sshweky Member
Member

Conditional visibility of a visualization in Power BI report

Is there any way I can make a visualization appear only if a certain condition is true?

2 REPLIES 2
Super User
Super User

Re: Conditional visibility of a visualization in Power BI report

I don't believe so,  But here is an idea.  If someone could copy the Image code and add a binary option to turn the image on/off based on some measure.  Then you could put a white box over another visualisation and have it appear or disappear.  So now all you need to do is find a developer that can do this.

 

https://app.powerbi.com/visuals/

* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
konstantinos Senior Member
Senior Member

Re: Conditional visibility of a visualization in Power BI report

Depends the visual and the condition..I have done something similar  for a bar chart to show up only when a slicer value is selected. 

Actually it does't shows up , it is there BUT if you remove the chart  axis, titles and labes and the values are blank it seems like there is no chart., shows nothing. Not ideal on all situations but is a workaround.

 

The condition can be a filter/slicer value or even a number on sales..

Modify your measure to something like below to fit your condition

 

Shows on filter =
IF ( VALUES ( Clients[name] ) = "Kostas"; [YourMeasure] )


Shows on Value =
IF ( [Sales] > 1000; [YourMeasure] )

Hope it helps

Konstantinos Ioannou