cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Remove empty hirearchy levels

HI! Im trying to build a custom Matrix from a table, so that the empty hierarchy levels do not display. 

 

Category 1Category 2Category 3Value
BMWBlackNew1
BMWWhite 2
AudiRedUsed2

 

What Im betting now for the second row is 

- BMW-White-BLANK-2

 

How could I remove the blanks in between from the hierarchies? 

 

Thanks for the help!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User I
Super User I

Re: Remove empty hirearchy levels

Hi @JP_Helsinki,

The design pattern you're looking for is a ragged hierarchy, and Power BI doesn't support it natively. It can be managed with a number of additional modelaling changes and some measures to check which level of the hierarchy a value is on.

The following articles are my go-tos whenever I need to implement such a pattern, and should help you out:

Good luck 🙂

Daniel





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

Proud to be a Super User!




View solution in original post

1 REPLY 1
Highlighted
Super User I
Super User I

Re: Remove empty hirearchy levels

Hi @JP_Helsinki,

The design pattern you're looking for is a ragged hierarchy, and Power BI doesn't support it natively. It can be managed with a number of additional modelaling changes and some measures to check which level of the hierarchy a value is on.

The following articles are my go-tos whenever I need to implement such a pattern, and should help you out:

Good luck 🙂

Daniel





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

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors