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

Sorting on Pivot table

Hi all ,

We are trying to sort on Pivot Table for the resultant value with this Expresion:

(

Count(DISTINCT{<Users={'VIP'}>}  Category)

/[Users Total]

)

But the chart show  "N/A" 

Please can you help us, thanks in advance.

Javi.

1 Solution

Accepted Solutions
dirk_konings
Creator III
Creator III

it says : Garbage after Num#. Is there something else in this expression?

Do the other 3 expression give a result if you deactivate this one?

Please attach a printscreen of your dimensions.

Dirk

View solution in original post

4 Replies
dirk_konings
Creator III
Creator III

Do you get the same result if you add this as an expression to your Pivot Table?

Maybe you have multiple values for [Users Total] on dimension level? Could you use min() or max() on UsersTotal?

Dirk

Not applicable
Author

Hi Dirk, the expression is in a Pivot Table, and we have some values on dimension. But we try to sort with only one dimension and the result is the same.

Attach you captures

thanks

PD: Sorry, the QV Software is in spanish

expresion_on_pivot.jpgSorting.jpgresult.jpg

dirk_konings
Creator III
Creator III

it says : Garbage after Num#. Is there something else in this expression?

Do the other 3 expression give a result if you deactivate this one?

Please attach a printscreen of your dimensions.

Dirk

Not applicable
Author

Thanks Dirk, we are using Num# to convert a value. Now is removed in the expression and the sorting is right.

Regards!!