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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
pnvsriram
Contributor
Contributor

Global Filter

Hi All,

I need to filter the data from the source and it is the same column and the same filter for all tables in a Task. is there a way to create a global filter like the global transformation? 

Labels (1)
2 Solutions

Accepted Solutions
john_wang
Support
Support

Hello @pnvsriram ,

Yes, it's easy. You can use Global Filter to achieve that. Global Filter is supported from Replicate version 2021.5. If you are running lower versions eg 6.6/7.0 then you need upgrade to version 2021.5.

I'm pasting my demo, it filters rows based on the common column "ID" (in the filter expression you use "$ID") which appears in all tables, if the value of "ID" is larger than 2 then the rows will be replicated to target side, otherwise will be ignored. It take actions for both Full Load and CDC.

Hope this helps.

Regards,

John.

 

Steps to create the global filter:

john_wang_0-1635123629319.png

john_wang_1-1635123643231.png

john_wang_2-1635123656775.png

john_wang_3-1635123669154.pngjohn_wang_4-1635123680038.png

john_wang_5-1635123692545.pngjohn_wang_6-1635123724332.png

 

 

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

pnvsriram
Contributor
Contributor
Author

Hi @john_wang 

thank you so much, you're right I'm on an older version and using the tool from the AWS market place and I have to find a way to upgrade to the latest version.

 

View solution in original post

2 Replies
john_wang
Support
Support

Hello @pnvsriram ,

Yes, it's easy. You can use Global Filter to achieve that. Global Filter is supported from Replicate version 2021.5. If you are running lower versions eg 6.6/7.0 then you need upgrade to version 2021.5.

I'm pasting my demo, it filters rows based on the common column "ID" (in the filter expression you use "$ID") which appears in all tables, if the value of "ID" is larger than 2 then the rows will be replicated to target side, otherwise will be ignored. It take actions for both Full Load and CDC.

Hope this helps.

Regards,

John.

 

Steps to create the global filter:

john_wang_0-1635123629319.png

john_wang_1-1635123643231.png

john_wang_2-1635123656775.png

john_wang_3-1635123669154.pngjohn_wang_4-1635123680038.png

john_wang_5-1635123692545.pngjohn_wang_6-1635123724332.png

 

 

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
pnvsriram
Contributor
Contributor
Author

Hi @john_wang 

thank you so much, you're right I'm on an older version and using the tool from the AWS market place and I have to find a way to upgrade to the latest version.