Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Find Top Selling Product

hello Dears

1-I want find Top 5 Selling Product (Sum(SaleAmount))?

2-i want find largest Product Per SubCategory (Sum(SaleAmount))

Look Like

plz help me

100.png

1 Solution

Accepted Solutions
mightyqlikers
Creator III
Creator III

8 Replies
settu_periasamy
Master III
Master III

Hi,

Can you try this in your Expression...

=if(rank(Sum(SalesAmount))<=5,sum(SalesAmount))

mightyqlikers
Creator III
Creator III

PFA

Regards

Sam

kavita25
Partner - Specialist
Partner - Specialist

Try the below logic:

In calculated dimension

=AGGR(IF(Rank(sum(SalesAmount), 4)<=5, EnglishProductSubcategoryName), EnglishProductSubcategoryName)

with the same expression

Regards,

Kavita

Not applicable
Author

Thanks

now if want find worst Sum(SaleAmount) Per Subcategory ?How

Not applicable
Author

Thanks

now if want find worst Sum(SaleAmount) Per Subcategory ?How

102.png

Not applicable
Author

102.png

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

Dimension: EnglishProductSubcategoryName

Expression:=Aggr(if(rank(-sum({<SalesAmount ={'>0'}>}SalesAmount)) <= 5, sum({<SalesAmount ={'>0'}>} SalesAmount)),EnglishProductSubcategoryName)

Regards,

Jagan.

Not applicable
Author

i try but Expression Is Not Valid