Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jmialoundama
Specialist
Specialist

CSS with object Multi KPI

Hello,

I am using Qlik Sense multi KPI object.

Here is my CSS code:

& *{
border-width: 2px;
border-color: #E6E6EF;
}

& .label * {
font-family: 'Calibri';
font-size: 150%;
}

& .statistic-1 .value * {
font-family: 'Calibri';
font-size: 150%;
}

& .value * {
font-family: 'Calibri';
font-size: 90%;
}


I have 4 squares. I want to put a conditional color on each of the squares.
How can I achieve it in CSS.

Here are the colors I want to use:
If Alert then green
If Critical then red
If command to launch then Orange
Otherwise Grey.

jmialoundama_0-1676305971705.png

Thanks in advance 🙂

Labels (1)
10 Replies
Sylvain1
Contributor II
Contributor II

Thanks DeepanshuSh

Unfortunatly I choose multikpi instead of KPI to regroup them into only one object.

For now I did not find any solution so I kept several KPI object to do it.

Thanks for your help.