Forum Discussion
Table Total Sum with Filters
- 4 years ago
Anonymous , Try a measure like
sumx(values(Table[Invoice]), calculate(lastnonbalnkvalue(Table[negotiation number], sum(Table[Sales]))))
or
calculate(sumx(values(Table[Invoice]), calculate(lastnonbalnkvalue(Table[negotiation number], sum(Table[Sales])))) ,
filter(allselected(Table), Table[Invoice] = max(Table[Invoice]) ) )
Anonymous , Try a measure like
sumx(values(Table[Invoice]), calculate(lastnonbalnkvalue(Table[negotiation number], sum(Table[Sales]))))
or
calculate(sumx(values(Table[Invoice]), calculate(lastnonbalnkvalue(Table[negotiation number], sum(Table[Sales])))) ,
filter(allselected(Table), Table[Invoice] = max(Table[Invoice]) ) )
- Anonymous4 years agoNot applicable
amitchandak thank you very much! It worked pretty well here and solved my problem.
Really appreciate the fast reply and with a very good solution for this. Thank you!
Just by the way, for any case, is it possible to aggregate also the blank values in last negotiation?
Like a condition. Sum sales with all blank values in last negotiation and, if there is a number, consider only the hightest in negotiation number.
This is just an extra thought and I will be working on that also.
One more time, thanks for the help. It really helped to solve this problem.