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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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...

 


@ 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!:
The Definitive Guide to Power Query (M)

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
Super User
Super User

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...

 


@ 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!:
The Definitive Guide to Power Query (M)

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.