Forum Discussion

lbrown's avatar
lbrown
Helper I
7 years ago
Solved

Need Help With Card Visual

I'm trying to make a Card visual of the total commissions amount. My problem is that the commission amount is based on the account number which the account number can be on multiple rows. So I need ...
  • v-juanli-msft's avatar
    v-juanli-msft
    7 years ago

    Hi lbrown

    Your formula need to modify, please see the bold character which is different from yours

    Commission Measure =
    VAR maxdate =
        CALCULATE (
            MAX ( 'Retained &Winback Call Logs'[Create Timetamp] ),
            ALL ( 'Retained &Winback Call Logs' )
        )
    RETURN
        CALCULATE (
            DISTINCTCOUNT ( 'Retained &Winback Call Logs'[ESG Account Number] ),
            FILTER (
                'Retained &Winback Call Logs',
                'Retained &Winback Call Logs'[Timestamp] = maxdate
            )
        )
    

    From your formula, you use [MaxDate Measure] instead of "maxdate", please modify.

     

    Best Regards

    Maggie