Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
EVernez89
Contributor II
Contributor II

Change row background color in Qlik Sense table when dimension changes

Hi,

I am on Qlik Sense and I would like to be able to put a background color as follows  (rows Table):

2022-07-11 16_00_56-Taux de service .200.xlsm - Excel.png

I have already tried several solutions that I found on this forum, including : 

Even(Aggr(NODISTINCT RowNo(), Ressources)), RGB(200,200,200)

It works on QlikView but not on QlikSense...

Anyone have an idea?
 
Thank you!
Estévan
Labels (3)
1 Solution

Accepted Solutions
ggijben
Partner - Creator II
Partner - Creator II

Hi @EVernez89 ,

Please see the attached QVF file. I've used the following formula in combination with the Autonumber() function in the script:

=if(Even(Resources_Color )=0,RGB(253,255,29),RGB(200,224,180))

Result:

4.png

 

View solution in original post

4 Replies
brunobertels
Master
Master

 

Try this 

=if(Even(Aggr(NODISTINCT RowNo(), Ressources))=0,lightgreen(),lightred())

EVernez89
Contributor II
Contributor II
Author

Hi,

Thanks for your answer, but I get everything in the same color...
 
2022-07-12 07_19_05-Window.png
ggijben
Partner - Creator II
Partner - Creator II

Hi @EVernez89 ,

Please see the attached QVF file. I've used the following formula in combination with the Autonumber() function in the script:

=if(Even(Resources_Color )=0,RGB(253,255,29),RGB(200,224,180))

Result:

4.png

 

EVernez89
Contributor II
Contributor II
Author

Thank you very much, your solution works perfectly 👍

Best regards,

Estévan