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

Announcements
Congratulations to the new Qlik Luminary and Partner Ambassador class! Meet them here
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Top 8 customers in a trellis container

Hello I got a combo chart with one dimension (Month_year)
and 3 expressions (stacked)
exp1: sum({<KPI={spent_mandays},portfolio={87},project_type={123}>}amount)
exp2: sum({<KPI={spent_mandays},portfolio={87},project_type={456}>}amount)
exp3: sum({<KPI={spent_mandays},portfolio={87},project_type={789}>}amount)

alone as a chart chart displays data normally

ali_hijazi_0-1786969263758.png

 



what I want is to repeat the above chart 8 times for the top 8 customers
so I added the above chart as a master visualization, and added a trellis container to which I added the customer dimension as follows:
aggr(only({<customer={"=rank(sum({<KPI={spent_mandays},portfolio={87}>}amount)) <=8"}>}customer),customer)

but the trellis displays the customer but the charts got the same values for all 8 customers

ali_hijazi_0-1786969504508.png

 

 

I can walk on water when it freezes
Labels (2)
1 Reply
lennart_mo
Creator II
Creator II

Hi @ali_hijazi

Could you please check whether you have 'Advanced Mode' activated under 'Appearance' -> 'Trellis options'?

If so, try disabling it and see if the results change to what you'd expect. Should the results change but you need the 'Advanced mode', you'll need to add $(vDimSet) to the end of your set expressions, i.e.

exp1: sum({<KPI={spent_mandays},portfolio={87},project_type={123} $(vDimSet)>}amount)

Best regards

Lennart