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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
dhannaa
Helper IV
Helper IV

Handling skipped hierarchies

Hi All,

I'm currently working with financial data and wondering how to prevent blank levels from showing up in the matrix chart. Any ideas?

dhannaa_0-1625644609904.png



 

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @dhannaa ,

For this kind of matrix with ragged hierarchies, we cannot exclude blanks values through Filters panel. If you exclude data with blank values in the current level, the sub-level data will also not be displayed if the current level has sub-levels. It will not be possible to obtain your expected result. Maybe you can try the method in the following blog  and check if you can get the results you want.

Remove empty hirearchy levels 

Best Regards

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

View solution in original post

4 REPLIES 4
v-yiruan-msft
Community Support
Community Support

Hi @dhannaa ,

For this kind of matrix with ragged hierarchies, we cannot exclude blanks values through Filters panel. If you exclude data with blank values in the current level, the sub-level data will also not be displayed if the current level has sub-levels. It will not be possible to obtain your expected result. Maybe you can try the method in the following blog  and check if you can get the results you want.

Remove empty hirearchy levels 

Best Regards

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

Thanks @v-yiruan-msft 

I've come found the same post you are referring to but haven't been able to solve this 🤔 Seems to me Power BI can handle ragged hierarchies with the help of INSCOPE function but with skipped hierarchies I haven't had success so far. The problem is that there are random levels missing/skipped but if child level always exists.

amitchandak
Super User
Super User

@dhannaa , you can add a visual level filter for each level <> blank

Thanks @amitchandak for your response.

Would it be possible to share me a pbix file of your solution, I just can't make it work that easily?

Helpful resources

Announcements
March Fabric Community Update

Fabric Community Update - March 2024

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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.