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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors