I have a need to identify products (and counts for % of total) based on the following scenerios. The locations are a slicer filter applicable to all.
1. If the product exists in one location, flag it as SingleLoc
2. If the product exists in all the selected locations (count (locations_dim.Loc)), flag it as Shared
3. If the product exists in at least 2 of the selected locations, flag it as Common
I have some of this working, but it seems really complex. I am still working on the SingleLoc, but am thinking there has to be an easier way to do this. I am thinking I should be able to have flags on the product dimension, and set them dynamically based on facts grouping the count of products based on filters.
Anyway, appreciate any help.