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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Color Mix wizard

HI,

I like to give two different color based on expression result using color mix wizard ,the formula used in expression is

(Sum([Units])/ Sum(total [Units])* 100 - Sum({1<PeriodID={$(=PeriodID-1)}>}[Units])/ Sum(total [Units])*100)/1000

if the expression value > o it should display color with green and the value less than o(zero) should display with red color.

Plz,help me out wat expression to be given in color mix value expression and in the upper and lower (..) areas.

THANKS IN ADVANCE



5 Replies
Not applicable
Author

hi,

if i am able to understand your problem ,

if(round((Sum([Units])/ Sum(total [Units])* 100 - Sum({1<PeriodID={$(=PeriodID-1)}>}[Units])/ Sum(total [Units])*100)/1000 ) >0,green(),red())

regards,

Ravi

Not applicable
Author

Go to visual cues and set the upper to whatever you wish to, and set the lower to 0 so that the lower than 0 number will display red and the higher numbers will display green

Not applicable
Author

Hi,

its working

can you explain this with using colormix wizard to display the color.

if possible explain in detail with screen shots..

thanks,,,

Not applicable
Author

Hi,

I agree with Ravi..just an additional info you can put this formula in the font color of the chart you are doing.

Regards,

Not applicable
Author

Hi,

Any other option like this in charts(bar chart).

pls,,if possible explain with screenshots..