Forum Discussion
Table visualization totals
Hello everyone!
I have a column that is the sum (subtraction) of two other columns (Disponível = Estoque - Pedidos). Sometimes, this subtraction is a negative number. My client wants to show zero instead of a negative number (the line must be shown, I can't just filter it).
I wrote a measure using "if" to do it, but the total of the column also appears as zero (and I understand that, because it follows my measure, if the total is negative, it shows zero after all). The thing is that my client wants the sum of the positive values showing on the total of that column. How do I do that? Can anybody help me?
Hi marina_oliveira
You need to iterate over the matrials:Disponível (Correct Total) = SUMX ( VALUES ( 'Table'[Material] ), [Disponível] )
2 Replies
- tamerj1Community Champion
Hi marina_oliveira
You need to iterate over the matrials:Disponível (Correct Total) = SUMX ( VALUES ( 'Table'[Material] ), [Disponível] )- marina_oliveiraFrequent Visitor
Thank you! it worked perfectly!