Hi ALL,
As shown in the screenshot:
Columns are Locations and D2 Roles. Each Location is mapped to a Final Region Set (e.g., Toronto).The module is dimensioned by Locations and D2 Roles.
I want to export this mapping to another model, but in the target module, I don’t need the D2 Roles dimension.
When I try to use ISFIRSTOCCURRENCE(Final Region Set, Location), it considers all D2 Roles, so the line item is marked for every role. In my target model, I want only one mapping per Location, ignoring D2 Roles.
Notes:Each D2 Role is mapped to the same Final Region Set, so ideally any Location mapped to a region should count as one occurrence.
I cannot hardcode a single D2 Role, because users may map the same Location with different D2 Roles in the future.
Any guidance on how to set this up correctly to get the first occurrence per Location while ignoring D2 Roles?