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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
mail2bsk
Contributor
Contributor

Limiting data in straight table

Hi,

i want to limit data in straight table based on two different conditions.

output table should contain:-

Top 4 Risks from Type (Top N is calculated based on Risk Number and Date) and Issues that are High Priority.

Table structure is as below

DateTypePriorityRisk Number
4/3/2015RiskHigh7
5/3/2015RiskLow7
9/23/2014RiskMedium7
4/30/2015RiskHigh6
4/3/2015IssueHigh1
3/30/2015IssueHigh1
5/20/2015IssueLow1
9/23/2014RiskHigh5

Thanks,

SK.

Labels (1)
4 Replies
Kushal_Chawda
MVP
MVP

What will be the output?

mail2bsk
Contributor
Contributor
Author

Output would be:

DateTypePriorityRisk Number
4/3/2015RiskHigh7
5/3/2015RiskLow7
9/23/2014RiskMedium7
4/30/2015RiskHigh6
4/3/2015IssueHigh1
3/30/2015IssueHigh1
sinanozdemir
Specialist III
Specialist III

Hi,

I might be getting your requirements wrong, but these are not really top 4 types:

Capture.PNG

As you can see when I use Rank(), these records are top 6 records.

Is that what you are really looking for?

mail2bsk
Contributor
Contributor
Author

My requirement is to show Top 3 records of Type is Risk based on Risk number and High Priority records where Type Issues.