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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
simsondevadoss
Partner - Creator III
Partner - Creator III

Dimension Colors

Hi ,

How to get different colors for dimensions in charts even if dimension values exceeds 18 ?

I should not get the same color again in my chart .

Thanks,

Simson

Labels (1)
10 Replies
kuba_michalik
Partner - Specialist
Partner - Specialist

You don't have to assign the colors to particular dimension values.

For example, this background color expression:

Pick(RowNo(),

    RGB(r,g,b),

    ... (more color expressions)

)

will work no matter what the chart dimension is. To avoid typing all those colors in expression, you could also store them in data and use something like

FieldValue('yourcolorfield',RowNo())