Forum Discussion
whenriques
Helper I
4 years agoCreate Relationship to Add Field to Matrix Report
Any chance you can, please, help me create a relationship to add the '"Total Revenue" to the matrix report below: I have the relationship of the tables using "Period." See below ...
- Anonymous4 years ago
Hi whenriques ,
Please check if this is what you want.
Total Overrun = CALCULATE ( SUM ( 'Overrun Data'[amount] ), USERELATIONSHIP ( TopRankingQuery[OrgName], 'Overrun Data'[Organization] ), FILTER ( 'Overrun Data', 'Overrun Data'[OFRmapping] IN { "overrun" } ) )The basic logic is to create an inactive relationship and use USERELATIONSHIP() function to active the relationship while doing the calculation.
Best Regards,
Jay
whenriques
Helper I
4 years agoBelow is a snapshot of the datasets: Any ideas?