Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Icon target is noth correct

Hello,

 

I have the following matrix:

 

Screenshot_1.png

 

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 3
v-lid-msft
Community Support
Community 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.

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
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
)

 

 

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.

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.