Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Icon target is noth correct

Hello,

 

I have the following matrix:

 

 

My icon targets have this configurations based on (%) column to the left.

  • Red icon target: less than 0,9
  • Orange icon target: between 0,9 and 0,95
  • Green icon target: higher than 0,95

But as you can see, "Interestadual" head value is 0,8741 and its icon target is GREEN when I expected a RED icon. I can't see why.

 

Could you help me, please?

 

3 Replies

  • v-lid-msft's avatar
    v-lid-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    Sorry for that, We cannot understand your measures in this visual clearly, Could you please share the formulas of Embarque Sing and (%)? Please don't have any Confidential Information or Real data in your reply.

     

    Best regards,

    Community Support Team _ Dong Li
    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

      Thanks for your reply.

       

      You may see the measures below:

       

      Quantidade - BilhetesEmbarcadosSing = 
      
      VAR SERV1 = CALCULATE(
          COUNTROWS(
              FILTER(
                  fatPassagensSing;
                  fatPassagensSing[EmbarqueSing]=TRUE() &&
                  fatPassagensSing[EmbarqueMotorista]=FALSE()
              )
          );
          USERELATIONSHIP(
              fatGrade[ID Serviço.1];fatPassagensSing[ID Serviço]
          )
      )
      
      VAR SERV2 = CALCULATE(
          COUNTROWS(
              FILTER(
                  fatPassagensSing;
                  fatPassagensSing[EmbarqueSing]=TRUE() &&
                  fatPassagensSing[EmbarqueMotorista]=FALSE()
              )
          );
          USERELATIONSHIP(
              fatGrade[ID Serviço.2];fatPassagensSing[ID Serviço]
          )
      )
      
      RETURN SERV1+SERV2

       

       

       

      Quantidade - BilhetesVálidos = 
      
      VAR SERV1 = CALCULATE(
          COUNTROWS(
              FILTER(
                  fatPassagensSing;
                  fatPassagensSing[BilheteVálido]=TRUE()
              )
          );
          USERELATIONSHIP(
              fatGrade[ID Serviço.1];fatPassagensSing[ID Serviço]
          )
      )
      
      VAR SERV2 = CALCULATE(
          COUNTROWS(
              FILTER(
                  fatPassagensSing;
                  fatPassagensSing[BilheteVálido]=TRUE()
              )
          );
          USERELATIONSHIP(
              fatGrade[ID Serviço.2];fatPassagensSing[ID Serviço]
          )
      )
      
      RETURN SERV1+SERV2

       

       

       

      This is the (%) measure:

      Taxa - EmbarcadoSing = 
      
      DIVIDE(
          [Quantidade - BilhetesEmbarcadosSing];
          [Quantidade - BilhetesVálidos];
          0
      )

       

       

      • v-lid-msft's avatar
        v-lid-msft
        Icon for Community Support rankCommunity Support

        Hi Anonymous ,

         

        Sorry for that, but we did not find anything could cause this error in these measures, could you please share the setting of condition format if it does not contain any confidential information?

         

        Best regards,

        Community Support Team _ Dong Li
        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.