Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

color lines in line chart

hello got a line chart displaying the number of defects per release

some defects are detected after the release date and thus will have a release name ending with PR

check attached image

what i want is that v3.1.27 and v3.1.27-PR have the same color and so on

i.e. every release ending with PR needs to have the same color as the same release name without PR

please advise and check the attached image

I can walk on water when it freezes
3 Replies
m_woolf
Master II
Master II

Something like this in the Background Color area:

Color(num(mid(ReleaseName,6,2))-26)

m_woolf
Master II
Master II

or maybe:

Color(num(left(subfield(ReleaseName,'.',2),2))-26)

Not applicable

Simple replace in your calculated dimension instead of RELEASE_PHASE  should work.  eg: replace(RELEASE_PHASE,'_PR','')