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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
gautamvikrant
Contributor
Contributor

Filter Data based on values on column

Hi Everyone - Being new to Qlik, I am trying to do the following and struggling with it, seems like a trivial issue

I have data something as below, where tracking ID remains same for multiple sequences. e.g. 1002 has 4 sequences, 1003 has only 1.

I want to use this data to create charts where i want to use say a condition that only those rows get picked up where Sequence Number = 1. How do I do that?

I can use the Filter Pane on sheet but i want that it should be independent of any filters, and condition exists somewhere in the expression itself. Please suggest.

Thanks for help!

Tracking ID Sequence Number Month
1001 1 Mar-22
1001 2 Mar-22
1002 1 Mar-22
1002 2 Mar-22
1002 3 Mar-22
1002 4 Mar-22
1003 1 Mar-22
1004 1 Mar-22
1005 1 Mar-22
1005 2 Mar-22
1006 1 Apr-22
1006 2 Apr-22
1006 3 Apr-22

Labels (2)
1 Solution

Accepted Solutions
gautamvikrant
Contributor
Contributor
Author

Thanks Vitalii.

This works, just another query if I want to have multiple filters, say in the above data Sequence Number = 1 AND Month = Mar-22, how do I write that? AND function doesnt seem to work.

Regards,

Vikrant

View solution in original post

2 Replies
vchuprina
Specialist
Specialist

Hi,
You can use set analysis
Sum({<[Sequence Number]={1}>}yourmeasure)

Regards,
Vitalii
Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
gautamvikrant
Contributor
Contributor
Author

Thanks Vitalii.

This works, just another query if I want to have multiple filters, say in the above data Sequence Number = 1 AND Month = Mar-22, how do I write that? AND function doesnt seem to work.

Regards,

Vikrant