Expand my Community achievements bar.

SOLVED

Calculated field with if..then, not returning as expected

Avatar

Level 1

Hi, I thought I had this calculated expression written correctly, but everything returns "Other".  Have I missed some syntax somewhere or should I be using a different expression.

 

IFIN({DE:*PRM Project Type}, "Adhoc", "Funded- Signature", "Funded-P&P","Funded-A&E","Conferences/Events/Webinars", "Funded (Signature)", "Japan","QUANT Client/Member","Research Circle", CONCAT("Primary Research"),IFIN({DE:*PRM Project Type},"Gartner Benchmark","Gartner Score","QUANT Benchmarks & Diagnostics", CONCAT("Benchmark & Diagnostics"),CONCAT("Other")))

 

The *PRM project type field is a single select dropdown and we do have 'show values' on.  I wasn't sure if that was causing an issue.

HeatherSc2_0-1744993182656.png

 

You can see that it always calculates to 'Other'

HeatherSc2_1-1744993273411.png

 

Thank you!

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I think you need to use the VALUE - not the label in the expression

Meaning "Adhoc" is the label, and "A" is the value

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

I think you need to use the VALUE - not the label in the expression

Meaning "Adhoc" is the label, and "A" is the value

Avatar

Level 1

I was wondering that.  Let me try that and see.