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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
imrasyed
Partner - Creator II
Partner - Creator II

Pivot table sorting with the text as Measure

Hi Experts,

I have a pivot table with one Dimension in row and other dimension as column.

1 Dim   -- resources  as Row

2 Dim  -- Agents       as   Column

3. Measure -- Status(its a Dim which has the active or inactive state of Resource)--I have added as a Measure by using expression only(status)

I need to sort the table based on Status i.e the Inactive once should be always at the top.

 Agent1Agent2Agent3Agent4
Resource    
XActiveInactiveActiveActive
YInactiveInactiveInactiveActive
ZActiveActiveActiveActive

 

I should always show Inactive ones at the top.(even if one of them is Inactive).

I tried all the possibilities like using dual,aggr but with no luck.Can you please help me out?

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Something like this?

image.png

View solution in original post

7 Replies
sunny_talwar
MVP
MVP

Would you be able to share a sample qvf to see the issue and help you with it

imrasyed
Partner - Creator II
Partner - Creator II
Author

Sorry for late reply.

Please find attached sample qvf.

sunny_talwar
MVP
MVP

Something like this?

image.png

imrasyed
Partner - Creator II
Partner - Creator II
Author

Hi Sunny.

Thanks a lot for the help.

can you please remove the qvf attachment.

sunny_talwar
MVP
MVP

Done

imrasyed
Partner - Creator II
Partner - Creator II
Author

Thanks a lot Sunny.

 

didierodayo
Partner - Creator III
Partner - Creator III

HI Sunny,

 

I am curious how this was resolved but the attachment has been removed.

 

cheers