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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
clovati
Partner - Creator
Partner - Creator

color in a variable

Hi all.

I want to colour background EXPR1 and wrote this in BACKGROUND COLOR:

if (Sum([EXPR1]) <= NUM, $(vColorBlack), $(vColorGreen))

where

vColorBlack=ARGB(100,0,0,0)

vColorGreen=ARGB(100,0,128,0)

The colors don't appear.

What should I write? I use varaibles because the colors can be changed very fastly.

thanks

Message was edited by: cristina lovati

12 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You have ARGC(100,0,0,0) as color vColoreNero instead of ARGB(100,0,0,0)


talk is cheap, supply exceeds demand
amit_saini
Master III
Master III

Yes ,

Sunny and Gysbert...u guy's having eagle eyes

Thanks,

AS

amit_saini
Master III
Master III

Hi Clovati,

Sorry, but u should mark either Sunny or Gysbert reply as correct answer.

Just because of their suggestion's , I realized below variable issue:

Thanks,

AS