Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Incorrect total in measure with division

Hello, I have a table,   and the % Meta column is totaling incorrect. The correct thing would be   The measure is defined below     I need the total to be correct whit...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi Anonymous ,

     

    It is suggested to use HASONEVALUE.

    You may try to create a measure to replace the TOTAL value.

    %Meta=

    IF(HASONEVALUE('Dados'[Classificacao]),[% Valores de Meta],[Resultado column sum divided by Meta column sum])

    The HASONEVALUE is to perform a calculation in the row of the matrix to get the result1, and perform another calculation in the Total row to get the result2.

     

    I can’t understand the language in your picture. If there is an error, please understand.

     

    Best Regards,

    Stephen Tao

     

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