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

Creation of a single KPI based on others KPI

Hi Community,

 

I have a question realted to New Measures / KPIs...

I have the following data in a Table

TYPEVALUE
a0.8
b0.65
c0.4
d0.94

 

the field "value" is a calculated column...

I want a visual (i thought a table with conditional formatting) that tells me sintetically the following:

 

if all the values in the above table (a & b & c & d) are above 0.9, give me "green light" (maybe give me 1 and then I format the column with a green icon), if one of these is below 0.9, give me another value (so maybe 0 and I'll format it to give me a yellow icon", if more than one of these value are below 0.9 give me another value (maybe -1) and I'll format "red light" icon.

 

An important point is that I have more tables in the same page, and I need more visuals, one for each page.

 

to be clear, the above table is related to "customer AAA", 

in the same page i need to insert other tables like:

"customer BBB"

TYPEVALUE
a0.99
f0.70
c0.88
g0.43

 

 

and

 

"customer CCC"

TYPEVALUE
g0.65
h0.77
b0.84
f1.00

 

Thanks!

1 REPLY 1
AlexisOlson
Super User
Super User

This might help point you in the right direction:

Color =
VAR Summary = SUMMARIZE ( Table1, Table1[Type], Table1[Value] )
RETURN
    SWITCH (
        TRUE (),
        MINX ( Summary, Table1[Value] ) >= 0.9, "Green",
        COUNTROWS ( FILTER ( summary, Table1[Value] < 0.9 ) ) = 1, "Yellow",
        "Red"
    )

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.