Forum Discussion

RvdHeijden's avatar
RvdHeijden
Icon for Post Prodigy rankPost Prodigy
9 years ago
Solved

I need help calculating values bases on another column

Goodday,   I have a column which has StageNames for Orders such as 'Bid Made', 'Lost Order', 'Order', 'Project Withdrawn' etc. i want to show these StageNames in a certain order in a Stacked Colum...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Your first argument to SWITCH is what will be evaluated. You should ONLY use Project[StageName].

    Then your values is what will be compared to your first argument. So in your code remove = "Suspect" and instead start the formula like this:

    StageName2 = Switch(Project[StageName];

    "Suspect";"1.Suspect";

    ...

    ...