Forum Discussion
lbrown
7 years agoHelper I
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 ...
- 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
Anonymous
7 years agoNot applicable
Looks like you've already got Step 1 done.
Total Commissions $ = sum('Retained & Winback Call Logs'[Comission Payout])
Step 2 Try something like this?
Daily Commission $ = CALCULATE([Total Comissions $], DATESBETWEEN('Create Date'[Call Log Date],TODAY()-1,TODAY())
lbrown
7 years agoHelper I
Anonymous
For this measure I am still seeing the total commission amount as a sum of the column.