Forum Discussion

TabathaN's avatar
TabathaN
Advocate III
5 years ago
Solved

Grouping an EXACT Match

Hello,   I have a formula, below, that groups data based on provider ID. The actual formula is quite long and contains multiple groupings like this. The issue I'm having is that if there is another...
  • DataInsights's avatar
    5 years ago

    TabathaN, try this calculated column:

     

    Supervising Provider Team = 
    SWITCH (
        TRUE (),
        Transactions[Supervising Provider ID] IN { 37, 115, 74 }, "Team Byrd",
        Transactions[Supervising Provider ID] IN { 38, 116, 75 }, "Team X",
        "Error - Contact Tabatha"
    )