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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get the bottom sales report by passing the parameter?

Hi,

I have calculated the Top sales report based on passing parameter

v_Top = 10

if(Aggr(Rank(Sum(Sales)),Item)<=v_Top,Item,null()) - Dimension

Sum(Sales) - expression

So when i pass the parameter via v_Top, i could get the top item report.

But i want to create the bottom items sales report by passing parameter same like top sales report.

I would be really grateful if you advise me

Best,

Robert

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Change Rank(Sum(Sales)) to Rank(-Sum(Sales)) for the bottom ranks.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Change Rank(Sum(Sales)) to Rank(-Sum(Sales)) for the bottom ranks.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks Mr. Gysbert