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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
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