Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
joshibabu_are
Contributor
Contributor

Qlik Sense Rank Calculation in Pivot table

Hi Guru's,

i have data like Employee sales amount by Product.

i want to create rank column(Expression) based on the Total amount .

How to achieve this.

Iam using JS Pivot extension but not allowing me to write Second Expression.

Example Output

 

EmployeeNameProductTotal           Rank

hhhhhhh                 P1                        5000              1

djsdjcsjd                 P2                         4000            2

........

Thanks,

Joshi

please find the Excel data,Qvf application  file

1 Solution

Accepted Solutions
Anonymous
Not applicable

Please find attachment

View solution in original post

8 Replies
Anonymous
Not applicable

Is there any specific functionality that made you opted for JS Pivot rather than one provided by default??

joshibabu_are
Contributor
Contributor
Author

client requirement was to show Totals at Right side .But In Qlik sense Totals showing in Starting(Left Side).

and more over i want to show total employee wise in right side but default Pivot table showing Total based on the Product wise.

Thanks,

Joshi

Anonymous
Not applicable

Please check the attachment. the pivot table below is created with normal pivot table provided with Qliksense. May be with tidying it bit more can get you to your result. Hope It helps.

joshibabu_are
Contributor
Contributor
Author

Hi Shiva,

thanks for your time.trying ur solution in my report.

How to move  Rank Column  to last in Pivot table.

Thanks,

Joshi

Anonymous
Not applicable

Clik on Sort, for the dimension with Pick() uncheck the auto sorting, and select by expression and give "Dim" in  the expression.

joshibabu_are
Contributor
Contributor
Author

Hi Shiva almost done .

1)i want to sort by Rank,

Example:1,2,3,,,,,,,25

2)i want to show Amount in Dollars

How to achieve this

Thanks,

Joshi

Anonymous
Not applicable

Please find attachment

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Can you please move your discussion to an appropriate Qlik Sense forum?

See QlikCommunity Tip: How to move your discussion thread

Thanks.