Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
seWork
Contributor III
Contributor III

pick match in grouped bar chart's expression

Hi all,

 

I'm trying to create a grouped bar chart with the following dimensions

 

Date,

Category

 

and with a calculated expression that contains few varibels(one for each brand) and should calculate the sales forecast (roundup) 

 

In general, I was using the below expression for such an expression but since I have two dimensions it seems that the expression can not affect them both as it is 

 

sum(ceil((Line_Value)*
pick(match(Brand,'A','B','C','D','E','F','G'),
$(vA),
$(vB),
$(vC),
$(vD),
$(vE),
$(vF),
$(vG)),1))

 

any advice?

 

 

  

Labels (2)
0 Replies