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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dynamic relationship table

Hi everyone,

I have a datatable:

1.JPG

 

I want to calculate KPI for objects: Organization, Team, Employee. To accomplish this, I created a parent-child table and used Hierachy-Slicer to decentralize:

2.JPG

 

3.JPG

To filter and calculate KPIs from the Data table, I created the relationship between the Data table and the Parent-Child table:

5.JPG

By this method, I was able to calculate and use the Slicer to filter data based on the Name column on the Data table for 2 KPIs:

KPI 1 = SUM(data[Value1])
KPI 2 = SUM(data[Value2])
 

But I have problems with the 3rd KPI:

KPI 3 = SUM(data[Value3])

How can I calculate KPI #3 and still use Hierachy-Slicer to filter the Name2 column in the Data table (KPI 1 and 2 use the Name column)

 

Thanks you.

pbix file 

1 REPLY 1

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.