Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
fernandoC
Helper V
Helper V

Help with Calculated Column

Hi!

 

I have a column with all the statuses of a process, the main goal is to use that information to create the stages of a funnel, however, there's too many statuses which would lead to confusion. I would like to create a calculated column which takes 2-3 statuses and merge them into one. I've been using Switch or IF functions but I can't seem to find the right formula for this. 

 

Example: 

 

Status NameStatus Name Goal
Contact CandidateContacted 

Screening 

Contacted
HR InterviewHR 
Schedule HR InterviewHR

 

Thanks!!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@fernandoC Should be something like:

Status Name Goal =
  SWITCH([Status Name],
    "Contact Candidate","Contacted",
    "Screening","Contacted",
    "HR Interview","HR",
    "Schedule HR Interview","HR"
  )


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@fernandoC Should be something like:

Status Name Goal =
  SWITCH([Status Name],
    "Contact Candidate","Contacted",
    "Screening","Contacted",
    "HR Interview","HR",
    "Schedule HR Interview","HR"
  )


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler ,

I've used your example and DAX doesn't show any errors but the column is empty for some reason:

 

Status Name Complete =
SWITCH('Main Jira Info'[Status Name], "New Candidate","Contacted",
"CV Review","Contacted",
"Pre-screen Decision","Screening",
"New Interview","HR Interview",
"HR Interview","HR Interview",
"Requested for Technical Interview","Technical Interview",
"Technical Interview","Technical Interview",
"Technical Interview Finished","Technical Inteview",
"Requested for Final Interview","Final Interview",
"Final Interview","Final Interview",
"Interview Decision","Final Interview",
"New Offer","Offer",
"Approved Offer","Offer",
"Offer in Progress","Offer",
"Offer done", "Hired",
BLANK()
)
Any idea why??
Thanks for your help. 
 
Best, 

Hi @Greg_Deckler ,

 

Nevermind! as I previously splitted that column there was a space at the beginning of the status name which cause the issue. 

 

Thanks again your formula worked like a charm.

 

Best, 

 

Fc. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors