Forum Discussion

eliasayyy's avatar
eliasayyy
Memorable Member
3 years ago
Solved

Incorrect Total when using Formula

Hello everyone I have 3 tables, revenue table  platform A names Platform A billing i will share powerbi file here : https://1drv.ms/u/s!Ag9tIyk2ofNRjmSCZuLgVHpG6N3V?e=LVuOgR i have relations...
  • tamerj1's avatar
    tamerj1
    3 years ago

    eliasayyy 

    Yes you are right. Please try

    Rel Revenues =
    CALCULATE (
    SUM ( Revenue[Total] ),
    USERELATIONSHIP ( Revenue[Client Name], 'Paltform A Names'[Client Name] ),
    Revenue[Platform] = "Platform A",
    Revenue[Client Name] IN VALUES ( 'Paltform A Names'[Client Name] )
    )