Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart Problem

I have a trellis chart that simply shows sales by month by Salesman. The chart works fine. As soon as I add a cummulative sales line using:

rangesum(top(Sales, 1, RowNo() -0))

all Salesman show up even when they do not have any sales.

Why?

Thanks,

Stephen

1 Reply
hdonald
Creator
Creator

Hi,

The 'Top(Sales,1,RowNo()-0)' bit seems to force every Salesman/Month combination to be displayed, overriding the chart settings for suppress zero/null values.

Adding a further aggregation e.g. aggr(  rangesum(top(Sales, 1, RowNo() -0))  ,Salesman,Month) may solve the problem,

Regards,

HD