Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Nivetha_AZ
Contributor
Contributor

Controlling colours in combo chart

Hello,
I have a combo chart with one Dimension and 2 measures.
Dimension: Sales_Month
Measure 1 : count({<success_indicator_sales=1>}sales) -> Bar
Measure 2 : count(sales) -> Line
Color for measure 1: Based on condition ( if sales is above 50% Green else Red)
Color for measure 2: Blue (no condition)
On plotting this chart, I get the expected color on Bar for measure 1, however when the line moves over the bar, the line color (Blue) is hidden behind/ fades and shows only the color of Measure 1
I tired, setting Both the measures as master items and have defined custom color code for the same.

Labels (1)
1 Reply
Anil_Babu_Samineni

For Colors instead charts, You can simplify in tabular format and really visualization wise recommendation.

Perhaps this?

If(count({<success_indicator_sales=1>}sales)>0.5, Green(), Red())

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful