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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors