Forum Discussion
kevbrown1980
1 year agoFrequent Visitor
Calculations
Hi I have 2 table with joined, 1 table has my cost data and the other the volume data. The cost table is 1 line per team however the volume table is multiple row per department giving an overal v...
- 1 year ago
Hi kevbrown1980
If the code in Table A is always unique, you can create a one-to-many single direction relationship from Table A to B on code. Then create this measure (assuming there's only one distinct vol value per team regardless of the department):
total cost = SUMX ( VALUES ( TableA[Code] ), CALCULATE ( MAX ( TableB[Vol] ) ) * CALCULATE ( SUM ( TableA[Cost] ) ) )
v-dineshya
11 months agoCommunity Support
Hi @kevbrown1980 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.
Regards,
Dinesh
v-dineshya
11 months agoCommunity Support
Hi @kevbrown1980 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.
Regards,
Dinesh