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

display data which does not meet the condition using set analysis

Hi ,

Below given is the scenario:

show only characteristic(s) that does not meet, in case

1. Current Rating - Requirement Rating < 0

2. Current Rating - Recommended Rating < 0

below given is the layout available

Cap.PNG

The slider , country and region are the filters..

the below table should meet this ( show only characteristic(s) that does not meet, in case

1. Current Rating - Requirement Rating < 0

2. Current Rating - Recommended Rating < 0  ) condition.



Kindly suggest on how to achieve this.


Attached is the sample data

      

IdTypeCharacteristics NameCurrent ScalingRecommended ScalingRequirement ScalingProductScore
500000710Comfort / ProductivityDexterity5202020.5
500000710Comfort / ProductivityOil grip105525.5
500000710Comfort / ProductivityDexterity206630.5
500000710Comfort / ProductivityTear157735.5
500000710Comfort / ProductivityOil grip16151540.5
500000870Comfort / ProductivitySweat Factor18121245.5
500000870Comfort / ProductivityTear19161650.5
500000870Comfort / ProductivityOil grip7111155.5
500000870Comfort / ProductivityDexterity5151560.5
500000870Comfort / ProductivityDexterity55565.5

kindly help in how to achieve this using set analysis.

Thanks in advance.

10 Replies
Anonymous
Not applicable
Author

stalwar1‌ any thoughts on the above question ??

Kindly share if you have any

Thanks in advance

Anonymous
Not applicable
Author

swuehl‌ any thoughts on the mentioned post?? please suggest on how to achieve this.

Thanks in advance

chinnuchinni
Creator III
Creator III

what is your desired output ?

can you please elaborate little more...................and please attach the accurate sample data.

Anonymous
Not applicable
Author

Hi Praveen ,

The desired output is in the table which will display the records which

does not meet, in case

1. Current Rating - Requirement Rating < 0

2. Current Rating - Recommended Rating < 0  ) condition.


below is the given data:

IdTypeCharacteristics NameCurrent ScalingRecommended ScalingRequirement ScalingProductScore
500000710Comfort / ProductivityDexterity5202020.5
500000710Comfort / ProductivityOil grip105525.5
500000710Comfort / ProductivityDexterity206630.5
500000710Comfort / ProductivityTear157735.5
500000710Comfort / ProductivityOil grip16151540.5
500000870Comfort / ProductivitySweat Factor18121245.5
500000870Comfort / ProductivityTear19161650.5
500000870Comfort / ProductivityOil grip7111155.5
500000870Comfort / ProductivityDexterity5151560.5
500000870Comfort / ProductivityDexterity55565.5


sunny_talwar

Would you be able to attach your file to look at this?

Anonymous
Not applicable
Author

Hi Sunny ,

attached is the qvw file with the sample data .

Thanks

chinnuchinni
Creator III
Creator III

try with this:


LOAD Id,

    Type,

    [Characteristics Name],

    [Current Rating],

    [Recommended  Rating],

    [Requirement Rating],

    ProductScore,

      [Current Rating] - [Recommended  Rating] as Recmnt_diff,

      [Current Rating] -  [Requirement Rating] as Req_diff

FROM

(txt, utf8, embedded labels, delimiter is '\t', msq)


where [Current Rating] - [Recommended  Rating] > 0 and [Current Rating] -  [Requirement Rating] > 0 ;

sunny_talwar

You want to show rows which meet these two conditions?

Requirement Rating < 0 and Recommended Rating < 0

but all the rows in the sample don't meet these two conditions? Everything is positive and well above 0, so you would want to see nothing? or is this based on the slider above where if you select 6 for example, then only this row will show?

Capture.PNG

Anonymous
Not applicable
Author

Hi Sunny ,

I want to show only characteristic(s) that does not meet, in case

1. Current Rating - Requirement Rating < 0

2. Current Rating - Recommended Rating < 0


i have given the sample data , that's y the values are positive or above 0 , kindly modify the values accordingly


But the requirement remains same.


Thanks