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: 
Not applicable

QlikView sorting of numeric values problem

Hi,

I have created a pivot table with Y and X fields respectively with both showing partial sums labeled as Grand Total, created a Total expression [count(Y)], problem is when do this, chart properties -> sort -> click on Frequency = descending, the figures in Y Grand Total is not being sorted in a descending order which is the result that I wanted. Can anybody please help me?

Thanks in advance

13 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try selecting SubTotals on Top option in

Chart Properties -> Presentation-> SubTotals section.

Regards,

Jagan.

Not applicable
Author

Hi Jagan,

Thanks for the reply, although I prefer that the subtotals be on the bottom (SubTotals on Bottom), at the end of X and Y fields assorted in descending order

jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you attach sample file and your expected output.

Regards,

Jagan.

Not applicable
Author

data looks like this. . .

Status                       ProductType

                                 1way                         2way                 3way              GrandTotal

Accepted                   100                           35                     5                     140                  

Cancelled                   51                             15                    2                      67

Retained                    50                              16                    2                     68

GrandTotal               201                             66                     9                    275

jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you attach the sample file?

Regards,

Jagan.

tresesco
MVP
MVP

Sort by expression: Aggr(Sum(Amount), Status)

Not applicable
Author

where would I put in this? in Status or ProductType dimension?

tresesco
MVP
MVP

Sort tab->Select Status->Sort by expression..

Not applicable
Author

I'm still getting the same result as Sort tab -> Select Status -> Frequency / Numeric Value -> Descending