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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
HxH
Advocate II
Advocate II

Making a visual disappear when there's no selection

Hy everyone, 
I built a visual with a CLUSTERED BAR CHART that only shows value if there's one selection made in a certain filter. Therefore when I have no selection I would like to have no data at all, to have a blank, clean screen in that position. 

Instead I get this: 

Capture.PNG

The title is correct but I don't want those lines and those points on the X axis. I know I could disable the gridlines or the X axis alltogether but I like to have them when, instead, I do have a model selected and data on my visual. 

Is there some way I could correct this? Either in the visual's settings or in the DAX I wrote for that formula (which has an IF(HASONEFILTER) condition with a BLANK as the last argument in order to show nothing when I don't have a filter selected). 

Thanks 

1 ACCEPTED SOLUTION
JosefPrakljacic
Solution Sage
Solution Sage

Hello @HxH ,

 

yes there is a possible solution -> @MattAllington describes it here.

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

View solution in original post

1 REPLY 1
JosefPrakljacic
Solution Sage
Solution Sage

Hello @HxH ,

 

yes there is a possible solution -> @MattAllington describes it here.

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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