Forum Discussion
DIVIDE measures across two tables
Hi All,
I have a situation where I need to obtain a productivity number by dividing two measures from two tables - one for FTE and one for number of shipments.
CYA Shipments = CALCULATE(SUM('PL Data'[Value]), FILTER('PL Data','PL Data'[Category]="Shipments"),'PL Data','PL Data'[Source]="Current Year Actual")
MSO FTE = CALCULATE(SUM('Prod Data'[Value]), FILTER('Prod Data','Prod Data'[Category]="MSO FTE"))
| Branch | Jan | Feb | Mar |
| A | 100 | 105 | 103 |
| B | 50 | 60 | 70 |
| C | 43 | 91 | 78 |
| D | 150 | 140 | 145 |
| E | 60 | 55 | 50 |
3 Replies
- ibarrau
Super User
Hi, can you should us your relationship view in order to help us understanding the model. With this I don't know if DIVIDE (Measure1, Measure2, 0 ) would work for you or not.
Regards,
- MFelix
Super User
Hi Gazsim44 ,
Assuming that you only have 2 tables from your description you need to create 3 tables to link the other two ( Branch / Month & Product) then use the columns from this new tables to make the matrix and the division will work.
If this doesn't work or you need some assistance please share some data from both tables.
- v-gizhi-msft
Community Support
Hi,
What's your relationships and link column between your two tables?
Could you please share some sample data if convenient, and remember to remove any sensitive data.
Thanks.
Best Regards,
Giotto Zhi