Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
How can I change the background color of certain cells conditional on the dimension of the table? Here is what I want to achieve. So basically change the the color of every other row. I'm thinking this could be done by conditional on Bob and Joe, but if there are easier ways to do this I would really appreciate the help.
Thanks.
Person | Sales | Inbound | Outbound |
Bob | 169,94 € | 497,16 € | 751,65 € |
Sam | 815,37 € | 414,82 € | 256,28 € |
Joe | 628,56 € | 791,40 € | 849,71 € |
if you want to change colour of alternate rows just go to properties > style > Change Stripes every 1 row
Hi,
Try below:
Under expression > background color
=if(Mod(RowNo(),2)=0,blue(),white())
HTH
Sushil
Hi,
I should have mentioned that I am using Qliksense. Is there still a way to do this?
Hi,
In Qliksense there is only Expression/Measure colour formatting.
Hi Sushil,
Is there a way to just change the color for the grand total? Currently I am using if(RowNo()=0,xxx,yyy) to change the colors for subtotals but it is not picking up the grand total. Appreciate your help.
Hi,
Try below steps:
1. Settings>User preferences > Design > check the option "Always Show design Menu Items"
2. Now goto your table and just take ur mouse courser on grand total cell and do right click.. Select the option > custom format cell and then change the background color.
HTH
Sushil
Is there a way (script) to do this in Qliksense?
can you show me the code for this