Forum Discussion
Anonymous
6 years agoNot applicable
Cumulative Total ... help!!
Hi all, please note that I am trying to do the following (after 6 hours of failures) Cumulative Sum of Total Commission / Tot Employee.. Acumulado Empleado Month 1 ... 861K/ 2035 Acumula...
- 6 years ago
Anonymous , Almost the same time update. This because Avg is at the day level not at month level
Try like
Acumulado empleado = calculate(divide( CALCULATE(SUM('2019'[COMISION TOTAL]), filter(ALL('2019'), '2019'[Mes fecha]<=MAX('2019'[Mes fecha]))), averagex(summarize(Table,Table[Mes Nomber],"_sum",CALCULATE(sum('2019'[TOTEMP]),filter(ALL('2019'), '2019'[Mes fecha]<=MAX('2019'[Mes fecha])))),[_sum]) ) )You can use allselected too.
Greg_Deckler
6 years agoCommunity Champion
I am not clear on what "doesn't work" but if you are referring to the total row of the table visualization, This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Anonymous
6 years agoNot applicable
thanks but the issue is the formula I am using