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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
NenadV
Creator II
Creator II

How to set a different background color based on value comparison with the row above

in Qlikview please:

For example, if the value in the 2nd row is lower than in the row above to be colored in green.

2024-04-23_14-16-27.jpg

 

Thank you

Labels (2)
22 Replies
NenadV
Creator II
Creator II
Author

they do, but total is taking into account all lines, isn't it?

 

TOTAL

If the table is one-dimensional or if the qualifier TOTAL is used as argument, the current column segment is always equal to the entire column.

NenadV
Creator II
Creator II
Author

 
marcus_sommer

TOTAL ignores all respectively certain dimensions (not above() or rowno() but a sum() or max() have further TOTAL options).

For your use-case it will work with TOTAL within the attribut-expressions as well as as direct expressions - at least in your example it does.

marcus_sommer_0-1714062247330.png