Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
can any body give expression to find the top 10 sales of country.
dimensions are country and customer for grouping.tell me how rank function is advantage over dimension limit property.
regards
Mahesh
Hi Mahesh,
Here is sample one: Sum({$<Country = {"=Rank(Aggr(Sum(Sales),Country))<= 10"}>} Sales)
Regards,
Sokkorn
i am expecting answer with out set analysis.
regards
Mahesh
Or you can play around with attached file.
Regards,
Sokkorn
Maybe this one: Sum(If(Aggr(Rank(Sale),Country)<=15,Sale))
Regards,
Sokkorn
can u pls resend the attached file
PFA
Here you are
Try This dude,
=If(Aggr(Rank(Sum(Sales)),Customer,Country)<=10,Sum(Sales))
You can change the grouping order as per the requirement.