Forum Discussion

Jestii's avatar
Jestii
Regular Visitor
3 years ago

Divide row with total different tables

Hi, 

 

I am trying to create my first report and I am stuck with a big problem. 

 

I have 3 different tables that I am trying to combine in to one report. 

Table1 and Table2 have these Dimensions incommon "Week", "CostCenter", "WorkCenter"

 

I have managed realtionships between these so that I can use Slicers. (CostCenter, Week, WorkCenter)

 

But my Table3 has only "Week" and "CostCenter" 

When I add Table3 to the report I get "Totals" on every row because it can not connect to "WorkCenter"

 

What I want to do is create a calculation for Table3 so that 

 

(Table1 row/Total Table1) * Table3

That way I can get some kind of split of Table3.

In this example if we look at picture below the calculation would be for the first row. 

(114,99/726,86) * 900,94 = 142,53 instead of 900,94

 

Also this needs to be dynamic so when I choose another Week or CostCenter the calculation needs to follow.