Use variable value in processing and both variable name

davidlanl
davidlanl Registered Posts: 1 ✭✭✭

Hi,

I have user case where I have defined a variable like

PHONE: "'iPhone','Samsung Galaxy'"

I am writing a case statement like

when device type in (S{PHONE}) then 'PHONE'

I want to use the variable name itself in the case statement if possible. Could you please let me know if possible ?

Tagged:

Answers

  • CoreyS
    CoreyS Dataiker Alumni, Dataiku DSS Core Designer, Dataiku DSS Core Concepts, Registered Posts: 1,150 ✭✭✭✭✭✭✭✭✭

    Hi, @davidlanl
    ! Can you provide any further details on the thread to assist users in helping you find a solution (insert examples like DSS version etc.) Also, can you let us know if you’ve tried any fixes already?This should lead to a quicker response from the community.

Setup Info
    Tags
      Help me…