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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Gwendaline_p
Helper I
Helper I

How to hide a visualisation depending on a filter ?

Hi everyone ,

 

I have a question on how to hide a visualization depending on a filter.

 

I have this table :

 

Level 1Level 2Level 3Count
ABE10
ABF15
ACG20
ACH30
ADUnknown40
IJUnknown10
IKUnknown20
ILUnknown30

 

And I have 3 filters :

- First filter on the first column (level 1)

- Second filter on the second column (level 2)

- Third filter on the third column (level 3)

 

And 3 bar charts : 1 bar chart per filterTicket_Filter#1.PNG

 

My question : is it possible to hide, for example, the third bar chart when I choose something with the first and the second filter ?

For example :

I choose level 1 = A and level 2 = B and the third graph is not here anymore like this : Ticket_Filter#2.PNG

 

Thanks a lot for your help !

 

Gwendaline

 

 

 

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

To the best of my knowledge, there is no way to conditionally hide a visual.  Would make agreat Idea though if it is not already out there. Seem to be a few different variants:

https://ideas.powerbi.com/forums/265200-power-bi?WT.mc_id=Community&query=conditionally%20hide%20vis...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

@Gwendaline_p

 

Hi, using this could simulate that the chart don't exist.

 

CountM =
IF (
    FIRSTNONBLANK ( Table1[Level 1], Table1[Level 1] ) = "A"
        && FIRSTNONBLANK ( Table1[Level 2], Table1[Level 2] ) = "B",
    BLANK (),
    COUNT ( Table1[Count] )
)

To a better look you can disable the Y Axis and the Title.




Lima - Peru
Greg_Deckler
Community Champion
Community Champion

To the best of my knowledge, there is no way to conditionally hide a visual.  Would make agreat Idea though if it is not already out there. Seem to be a few different variants:

https://ideas.powerbi.com/forums/265200-power-bi?WT.mc_id=Community&query=conditionally%20hide%20vis...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler ,

 

Thanks a lot for your answer.

I vote for a variant Idea.

 

Kind regards ,

Gwendaline

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.