Forum Discussion

FuzzyYabs's avatar
FuzzyYabs
Frequent Visitor
7 years ago
Solved

Create a calculation based on two tables

Hello Power Bi Gurus!    Would need your help on something.  I currently have two tables, Revenue Individual (1) and Revenue Collection (2). I need these two tables to create a third table, Revenu...
  • v-cherch-msft's avatar
    v-cherch-msft
    7 years ago

    Hi FuzzyYabs 

     

    Please check the measures in attachment.

    AC Power Rate = 
    DIVIDE (
        CALCULATE ( SUM ( Individual[Amount] ), Individual[Department] = "AC POWER" ),
        CALCULATE (
            SUM ( Total[Total] ),
            FILTER (
                ALL ( Total ),
                Total[Department Total] = "AC POWER"
                    && Total[Date] <> "NOV C18"
            )
        )
    )
    

    Regards,

    Cherie