Forum Discussion

pedroccamaraDBI's avatar
pedroccamaraDBI
Icon for Post Partisan rankPost Partisan
4 years ago
Solved

Calculate through a related table

Hi guys, I hope everyone's ok. I'm building a matrix visual that shows me by for each type of policy, the total by 4 levels, Company, cost center, product and partner. All these columns are in the...
  • tamerj1's avatar
    4 years ago

    Hi pedroccamaraDBI 

    you can try

    Partners Total =
    CALCULATE (
        [Total],
        CROSSFILTER ( Partners[ContractID], 'Policies'[ContractID], BOTH )
    )