So, I have a dashboard that has a list of ~24k customers from a specific population. We have some other customer populations as well, some overlap. One being ~182k customer numbers. I have been asked to, in my original dashboard of the 24k, identify which of those customers are a member of the 182k population and which ones are not. My end goal would be a table that looks something like:
CustomerNumber MemberOf182k ABC XYZ
0000001 Y 123 456
0000002 N 789 012
My problem is the data in the dashboard is a custom SQL query. It pulls in my ~24k population. The 182k population isn't something that ever came from one data source - it was from multiple disparate data sources and now exists in an Excel file and a main report.
To further complicate things, our Tableau team does not like to use Excel files as data sources in Production, so I need to figure out how to create some sort of static list in Tableau (maybe a dimension) of the 182k customer numbers then do a calculated field like:
IF CONTAINS([182kPop],[24kPop])=TRUE THEN 'Y' ELSE 'N' END
Does anyone know how I'd go about this? I tried pasting a list of the 182k customer numbers right in this calculated field, but alas, it locked up on me. I was hoping I could create a list of some sort as a reference in Tableu since this list will never change and then use it as a comparison when creating a new calculated field.... Any ideas? Thanks in advance!!






