Forum Discussion

36048419's avatar
36048419
New Member
1 year ago

Calculations between two tables

So I thought I had the hang of Power BI but now I am totaly confused, I´m a beginner at this.

 

This is what I have, I have just taken the relevant columns.

 

Table A Roomnumber

Table B Type, Capacity

Table C Type, number of boxes

 

I want to calculate the capacity of the different types in the rooms and subtract the actual number of boxes of the same types in the rooms.

So that I get a result like this

 

                       Type A      Type B       Type C

Room A             5               7                 3

Room B             2                                 7

Room C             1                2                5

 

I have tried with measures but now I´m really confused.

I have connected the tables with the room as relation.

How should I approach this?

 

 

 

 

2 Replies