Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
jonaguada
Contributor III
Contributor III

variable in COMPOSE Mapping filter

We have a load in compose where we filter for a subset of customers in a separate DW.  The current way that we segment these customers in the separate DW is by using the filter shown below.

 

jonaguada_0-1749062830303.png

 

Anytime we get a new customer, we have to update the filter in most of the tables.  I would like to centralize the CustomerID values into one place and simply update the customerIDs in that one place.

I was thinking of two ways to do this:

1. Create a variable that would contain these values. The filter could look something like the following....

      ${CustomerID}  in vCustomerList  where vCustomerList is created somewhere in COMPOSE

2. Tablize the CustomerIDs and have a filter that looks something like the following...

      ${CustomerID}  in (Select distinct CustomerID from ListOfCustomersTable)

 

Are either 1 or 2 possible?

Labels (1)
0 Replies