I am trying to get a comma-delimited list of cost centers from my Cost Source Actuals table. I would like to exclude a series of values from this list. For now, I have a column listing those exclusions (see below)
| List Exclusions |
|---|
| 1,3,5,7 |
|
| 1,3,5,7 |
For my example, let's say my cost centers are 1,2,3,4,5,6,7. I would like to get a list like:
Cost Centers
|
|---|
| 2,4,6 |
| 1,2,3,4,5,6,7 |
| 2,4,6 |
The formula I thought would work is:
=substitute(UniqueValues(Cost Source Actuals Unfiltered Transform:DeptID[DeptID NOT IN ({List Exclusions})]),"""","")
When I enter that, I get no results. Strangely, if I change "NOT IN" to "IN," I get everything with no exclusions. How do I do what I'm trying to do?