Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
himabinduch
Creator
Creator

Set Analysis

Hi All,

in my dashboard i have data like below

 

STATUSVERSION_NAME=Count(DISTINCT(ISSUE_COUNT))
Analysis201702243
Backlog201702242
Backlog-2
Backlog201702173
Development In Progress2017022411
Done201702246
DoneR-Done180
Gather Requirement201702243
IT-1
IT2017022438
POC201702242
Prod Validation201702241
QA Approval201702249
SA Approval201702246
Tech Lead Review201702243
UAT201702243

if the expression  as Count(DISTINCT{<VERSION_NAME= >}ISSUE_COUNT)  it should not change the values according to my version_name field, in my case it is working fine but  when i am giving sort condition it is not working please help me out on the same please find my sort condition as well.

If(STATUS='Backlog',1,

  If (STATUS = 'Gather Requirement',2 ,

  If (STATUS = 'Analysis' or STATUS='IT' or STATUS = 'POC',5 ,

  If (STATUS = 'Tech Lead Review', 10 ,

    If (STATUS = 'Ready for Development',15 ,

     If (STATUS = 'Development In Progress',20 ,

      If (STATUS = 'QA Approval' or STATUS='SA Approval',25 ,

      99 //Done

      )

     )

  )

    )

  )

  )

   )

  

Thanks In Advance.

Regards,

HimaBindu Ch

6 Replies
Anil_Babu_Samineni

What are the values of ISSUE_COUNT and what is the o/p

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
himabinduch
Creator
Creator
Author

ISSUE_count has issue id please find the below

 

6027113
6027114
6027115
6027274
6027329
6027368
6027375
6027447
6027462
6027483
6027490
6027493
6027496
6027497
6027498
6027585
6027591
6027593
6027596
6027597
Anil_Babu_Samineni

What is the o/p you want to see

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
himabinduch
Creator
Creator
Author

i want to see the count of issue_count and it shouldn't effect if i select by VERSION_NAME and i want to sort the order as based on the below condition.


If(STATUS='Backlog',1,

  If (STATUS = 'Gather Requirement',2 ,

  If (STATUS = 'Analysis' or STATUS='IT' or STATUS = 'POC',5 ,

  If (STATUS = 'Tech Lead Review', 10 ,

    If (STATUS = 'Ready for Development',15 ,

     If (STATUS = 'Development In Progress',20 ,

      If (STATUS = 'QA Approval' or STATUS='SA Approval',25 ,

      99 //Done

      )

     )

  )

    )

  )

  )

   )

sasikanth
Master
Master

HI,

If it for Only sort you can try INLINE Load /Match() function

in sort tab-->Expression

=Match(

STATUS,

'Backlog',

'Gather Requirement',

'Analysis',

'IT',

'POC',

'Tech Lead Review',

'Ready for Development',

'Development In Progress',

'QA Approval ',

'SA Approval')

OR Inline  LOAD in script

LOAD * INLINE [

STATUS

Backlog

Gather Requirement

Analysis 

IT

POC

Tech Lead Review

Ready for Development

Development In Progress

QA Approval

SA Approval

];

Anil_Babu_Samineni

May be try something like below for removing selection for one Field

Count({<VERSION_NAME= ::VERSION_NAME>} DISTINCT ISSUE_COUNT)


From below expression you can try from Script level then tell me what is your intend to sort


If(STATUS='Backlog',1, If (STATUS = 'Gather Requirement',2 , If (STATUS = 'Analysis' or STATUS='IT' or STATUS = 'POC',5 , If (STATUS = 'Tech Lead Review', 10 , If (STATUS = 'Ready for Development',15 , If (STATUS = 'Development In Progress',20 , If (STATUS = 'QA Approval' or STATUS='SA Approval',25 , 99)))))))

I didn't understand this above one where you want to course this

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful