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
pstanek
Post Patron
Post Patron

Hierarchy filter

Hi I tried to use hierchy filter visual, but it failed  when columns were from tables with relation, not from the same table.

 

Table  B->A

Column hierarchy First  b from B,  second a from A --because of cross filtering  . How is that possible?

                                   

3 REPLIES 3
Anonymous
Not applicable

Hi @pstanek,

 

Based on test, it is impossible to directly create a hierarchy column with columns from multiple tables.


You can add a calculate column one table to store the related column which from other table, then use this column to create the hierarchy column, and drag it to hierarchy slicer.(low performance)

 

Below is the sample.

 

calculate column:

Desc = RELATED(Sheet1[Desc])

 

Capture.PNG

 

Regards,

Xiaoxin Sheng

Problem is that, i can´t find related anymore within calculated column.

 

http://community.powerbi.com/t5/Desktop/Related/m-p/91765

 

I am not also sure how to create hierarchy column.

 

 

Anonymous
Not applicable

Hi @pstanek,

 

Did you use the direct query mode to connect the datasource?If you want to use related function, you should ensure these tables contain the relationship and it not works when you connect the datasoure with direct query mode.

 

>>I am not also sure how to create hierarchy column.

Click on one column -> Right Click.

Capture.PNG

Then you can drag other columns which in the same table to this hierarchy column.

 

Regards,

Xiaoxin Sheng

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.

Top Solution Authors