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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Pave
New Member

Issue with Custom Visual (Hierarchy slicer) in Power Bi Report

Hi Team,

I have a report that includes multiple slicers configured as follows:

  1. Page-level slicers – Using the built-in Slicer visual, which includes: Program, Category, Subcategory, and Status….
  2. Button slicer – Used for Status (e.g., Total, On Track, Off Track, etc.). This interacts with all visuals except the page-level slicers. Even when there is no data, it displays all statuses at the top. Since we needed to include the Total option, a new table was created, and the Status column is being fetched from that table.
  3. Hierarchy slicer (Custom Visual) – Placed below the button slicer. This interacts with all visuals except the button slicer and the main built-in slicers.

Issue:
The button slicer shows all statuses regardless of data availability. When a status with no corresponding data is selected, the hierarchy slicer still displays values — seemingly related to previous selected status data — despite visual-level flags or DAX measures being applied.

Notably, when switching the hierarchy slicer to Focus Mode or viewing it as a table, it correctly shows blank results. However, once clicking the button slicer again, the hierarchy slicer reverts to showing incorrect data.

Question:
How can we refresh the custom visual or clear its cache to ensure that the data refreshes properly and displays accurate Data as per button slicer?

Pave_3-1761211949243.png

 

 

Pave_2-1761211909939.png

 

 



Regards,
Pave

3 REPLIES 3
danextian
Super User
Super User

Hi @Pave 

Does a relationship directly flow from the column used in the hierarchy slicer to the one in the button slicer. If it isn't then that is an expected behaviour. You can try visually filtering the button slicer by a measure that responds to the selection in the hierarchy slicer - use is not blank. 





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.

Hi @danextian ,

Thank you for your time!

Actually there is a many-to-many relationship with single-directional was creted between the two tables.
The Status column utilized in the Hierarchy Slicer DAX expressions is related to the Status column in button slicer table.
i have used the Slicer column in Button slicer as i want "Total" option as well in report.

Pave_0-1761224427008.png

I have created a flag measure and applied it as a visual-level filter to hide items when no data is available. This approach is working as expected for all other built-in visuals. However, it is not functioning correctly for the Hierarchy Slicer (custom visual), which continues to display values even when there is no corresponding data.


Hi @Pave ,
Thanks for reaching out to the Microsoft fabric community forum. 

 

Since the Hierarchy Slicer is a custom visual, it might not refresh or react to DAX filters and visual-level flags the same way as built-in visuals. That’s likely why it still shows values even when no data exists.

You can try the following:

  1. Check if the relationship direction allows filters to flow between the tables (try bidirectional if possible).
  2. Create a small dependency or disconnected measure in your DAX to force a refresh when the button slicer changes.

 

 

Best Regards, 
Community Support Team

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.