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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rolling Average Issue


Hi Everyone,

Need advise with Rolling Monthly Average. Please see below how I tried but failed.

Rolling Average.jpg

6 Replies
sunny_talwar

As far as I know, reference lines are straight lines and cannot move up or down. Why don't you use a combo chart and add another expression (RangeAvg(Above(Sum([Total BBLs]), 0, 12))/1000000) for your reference line.

Not applicable
Author

The problem is the Dimension has Product(which is broken down into several sub-products). See below

Rolling AverageIssue1.jpg

I don't want the Average for each Sub-products, but the moving average of the main products, and the same time displaying the sub-products in each bar.

sunny_talwar

Maybe use TOTAL in your expression:

RangeAvg(Above(Sum(TOTAL <Sub-Poducts> [Total BBLs]), 0, 12))/1000000

Not applicable
Author

Hmm, doesn't work.

sunny_talwar

Not sure if this will work or not, but can you try this as well?

RangeAvg(Above(Sum(TOTAL <Product> [Total BBLs]), 0, 12))/1000000

Not applicable
Author

See below, I am trying to put a Rolling Average for the below chartRolling AverageIssue2jpg.jpg