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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
edwin
Master II
Master II

adding an aggregation bar in a chart

we recently had a requirement to show the aggregation of all results as a bar in a chart. for example if we have weekly values, we plot the sum of the values per week (week will be the dimension). then average the resulting sum and display as the first bar. 

 

Capture.PNG

we implemented this using a bridge in the script.  

does anyone know how this can be done without any additional tables in the DM?  just a regular expression in the chart?

Labels (1)
12 Replies
edwin
Master II
Master II
Author

follow on, it appears the limitation of this solution is that you can only add one bar aside from the values of the x dimension - just an observation

edwin
Master II
Master II
Author

i just saw where the aggr bar is (in the dimension limits tab).  thanks

Frank_Hartmann
Master II
Master II

Frank_Hartmann_5-1610055936910.png

activating this option gives you the possibility to adress the Totalvalue by using "dimensionality()=0" in the expression. And you are right. You cannot sort the Total. The Total is always on the right side...