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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
powerbiexpert22
Impactful Individual
Impactful Individual

hide chart conditionally

can it be possible that if these is no data in visual 2 then visual2 should be hidden and visual 1 should extend automatically till the end of visual2?

 

powerbiexpert22_0-1716940233692.png

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @powerbiexpert22 ,

 

It is not possible to automatically resize a visual when one other visual doesn't contain data. A bookmark only captures a state but cannot  determine whether a visual/measure has no data  or not. You might have a better luck with using an html table using the html visual. I'm no html expert so I'd use AI to help me out.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

3 REPLIES 3
danextian
Super User
Super User

Hi @powerbiexpert22 ,

 

It is not possible to automatically resize a visual when one other visual doesn't contain data. A bookmark only captures a state but cannot  determine whether a visual/measure has no data  or not. You might have a better luck with using an html table using the html visual. I'm no html expert so I'd use AI to help me out.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
powerbiexpert22
Impactful Individual
Impactful Individual

Hi @Anonymous 

 

if there is no data in second card then how it automatically navigate to another bookmark?

Anonymous
Not applicable

Hi @powerbiexpert22 ,

I create two cards. One with number and one with blank.

vyilongmsft_0-1716945665010.png

I think you can use bookmarks. It can let you hide the visual you want to hide.

vyilongmsft_1-1716946089494.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Kudoed Authors