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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

stright table

Hi All,

Olivier GAUTIER

i want to top 10 customers in stright table  [not through dimension limit tab]

thanks

sony

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Try this?

Measure1:

Sum({<[Type]={'Hw'},[Name]=$::[Name], Customer={"=Rank(SUM(Amount))<=10"}>}[Amount])/$(vFormat)

Measure2:

Sum({<[Type]={'Sr'},[Name]=$::[Name], Customer={"=Rank(SUM(Amount))<=10"}>}[Amount])/$(vFormat)

Measure3:

Sum({<[ Name]=$::[ Name], Customer={"=Rank(SUM(Amount))<=10"}>}[Amount])/$(vFormat)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

5 Replies
simospa
Partner - Specialist
Partner - Specialist

Hi Sony,

1. what are you asking? I cannot understand...

2. ok, but why you don't want to use the dimension limit?

Simone

soniasweety
Master
Master
Author

i want to dispaly top 10 customers in the table

if i use dimension limit tab it is not giving exact  10 bcz i  have 3measures

i think that is the reason

so how can i achieve this?

Anil_Babu_Samineni

Try this?

Measure1:

Sum({<[Type]={'Hw'},[Name]=$::[Name], Customer={"=Rank(SUM(Amount))<=10"}>}[Amount])/$(vFormat)

Measure2:

Sum({<[Type]={'Sr'},[Name]=$::[Name], Customer={"=Rank(SUM(Amount))<=10"}>}[Amount])/$(vFormat)

Measure3:

Sum({<[ Name]=$::[ Name], Customer={"=Rank(SUM(Amount))<=10"}>}[Amount])/$(vFormat)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
ogautier62
Specialist II
Specialist II

Hi,

Sony,

do you want top 10 total sales and then the 3 measures (if so Anil's solution)

or do you want for each selection top 10 in it ?

regards

soniasweety
Master
Master
Author

thanks sir it worked.