Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Total value wrong in table

Hi all!!

I have this meansure bellow, when this mensure is in line is write, but the total value is wrong.

Someone know how could I do this ??

Thank so much,

VAR MaxDate = MAX(fEstoque[OrderDate])
VAR Result =

CALCULATE(
[Desvio Consumo] * [Custo Standard],
fMovimentacoes[OrderDate]<=MaxDate,
ALL( fMovimentacoes[OrderDate])
)

Return
Result

5 Replies

  • ERD's avatar
    ERD
    Icon for Community Champion rankCommunity Champion

    Hi Anonymous ,

    The answer for this topic (incorrect totals for measures) can be found in this forum.

    For example, Correct values, but wrong total .

     

    If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Its run, but i have a lot data so i cant't use Sumx because gonna be very slowly

  • Anonymous's avatar
    Anonymous
    Not applicable

    Isn't running write, I could with Sumx But it is very slowly