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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ziabobaz
Creator III
Creator III

Chart 90-days rolling, when no sales data on certain dates

Hi!

The below formula works great on a chart with DATE Dimension.

   sum(

   Aggr(RangeSum(Above(

     Sum(Sales), 0, 90)), ([Date],(NUMERIC,ASCENDING)))

)

There is one exception: if there were no sales on certain days, it continue to sum up the values, until it gets 90 records in total (not calendar days).

Is there other way to show rolling Sales based on number of Calendar days, rather than number or rows?

Thank you!

1 Solution

Accepted Solutions
ziabobaz
Creator III
Creator III
Author

Solved.

I turned on "Show zero values" in chart / table properties.

View solution in original post

1 Reply
ziabobaz
Creator III
Creator III
Author

Solved.

I turned on "Show zero values" in chart / table properties.