Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Hierarchy and filtering

I have a table which contains group_id, group_name and parent_id

Is it possible to filter by groups so that child groups are included? 


Basically, I want to show data in PBI desktop the way it's shown in Application I collect data from, and that's something like this:

1. Group1

  1.1 Subgroup 

  1.2 Subgroup 

2. Group2

  2.1 Subgroup 

    2.1.1 Element of subgroup


In PBI I have all these groups shown in one table, on one level.

Frequent Visitor



It's probably late, but I think I understand what you wanted. Group > Subgroup hiearchy. As long as your categories in one coloumn you can create two subgroups one large and one smaller. You need to do it one by one ie. group than subgroup1, subgroup2.


You need to create a "treemap". In the treemap Put your large group (subgroup1) onto "Group" field and put your smaller group onto "Details". You actual field goes to "Values". As long as all the elements of subgroup2 are also in subgroup1 (of course not your all elements should be the other way arround) the colour saturation will present you a group within the group, while other categoires will be presented with individual colours.


If you don't want to present your values on the tree map, you can add to the same page a card/matrix/table. Create relation ship between your categories in "Modelling" > "Manage Relationships" if needed.

Super User IV
Super User IV

A matrix visualization might get you what you want, but perhaps I am not understanding what you are trying to accomplish.


@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!

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

Proud to be a Super User!

Helpful resources


Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors