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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
enricocamerin
Creator
Creator

Alternate colour in straight table

Hello,

to create an alternate colour background in the table I used this formula

=if(Even(RowNo())=0,argb(40,101,173,33))

It works for the measure in a Pivot table, but it doesn't work if you apply the formula in a straight table

qliksense June 2018

thanks

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

You probably have to add TOTAL as there are more than one dimension in your table:

If( Even( RowNo(TOTAL) ) , ARGB(40,101,173,33) )

View solution in original post

3 Replies
enricocamerin
Creator
Creator
Author

Actually the formula is =if(Even(RowNo())=-1 ,argb(40,101,173,33))      

petter
Partner - Champion III
Partner - Champion III

You probably have to add TOTAL as there are more than one dimension in your table:

If( Even( RowNo(TOTAL) ) , ARGB(40,101,173,33) )

enricocamerin
Creator
Creator
Author

Many thanks Petter, it works !!

If( Even( RowNo(TOTAL) ) = -1 , ARGB(40,101,173,33) )