Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

joshibabu_are
New 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
laddu_927
Valued Contributor

Re: Qlik Sense Rank Calculation in Pivot table

Please find attachment

8 Replies
laddu_927
Valued Contributor

Re: Qlik Sense Rank Calculation in Pivot table

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

joshibabu_are
New Contributor

Re: Qlik Sense Rank Calculation in Pivot table

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

laddu_927
Valued Contributor

Re: Qlik Sense Rank Calculation in Pivot table

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
New Contributor

Re: Qlik Sense Rank Calculation in Pivot table

Hi Shiva,

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

How to move  Rank Column  to last in Pivot table.

Thanks,

Joshi

laddu_927
Valued Contributor

Re: Qlik Sense Rank Calculation in Pivot table

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

joshibabu_are
New Contributor

Re: Qlik Sense Rank Calculation in Pivot table

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

laddu_927
Valued Contributor

Re: Qlik Sense Rank Calculation in Pivot table

Please find attachment

Re: Qlik Sense Rank Calculation in Pivot table

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

See QlikCommunity Tip: How to move your discussion thread

Thanks.