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: 
judikael
Contributor
Contributor

Pick match function in stacked bar 100%

Hello,

I use qliksense nov.2018

I create a bar chart with 2 dimensions : year and delay

1 expression :

count(distinct {<type_acte={'Financiere'}, IS_STATUT={0} > } ID_CORREL)

/

count(distinct {<type_acte={'Financiere'}, IS_STATUT={0} > TOTAL <ANNEES>} ID_CORREL)

when i use pick function like this

Pick(match(delay,'xx','xxx','xxxx','xxxx','xxxx'), rgb(x,x,x) , rgb(),rgb(), rgb(),rgb())

I see a stacked bar to 500%.

 

How can i solve it ? Without pik match in color and legend i have a 100% stacked bar .

 

1 Solution

Accepted Solutions
abhijitnalekar
Specialist II
Specialist II

Hi @judikael ,

 

You can create a master dimension for delay field and set the colors for each value in the property like below

 

abhijitnalekar_0-1639130161922.png

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

1 Reply
abhijitnalekar
Specialist II
Specialist II

Hi @judikael ,

 

You can create a master dimension for delay field and set the colors for each value in the property like below

 

abhijitnalekar_0-1639130161922.png

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!