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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Jestii
Regular Visitor

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. 

 

Jestii_0-1680099818518.png

 

 

 

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.