Junaid Liaquat (CVS health /Aetna) 님이 Einstein Analytics - Bangalore Community에 글을 올렸습니다 (최초 질문자: Junaid Liaquat)2023년 9월 21일 오후 5:42Junaid Liaquatusing Case Function in compute expression node in CRM analytics DataflowsI am trying to use Case function in Compute Expression to bucket Staff Role field values in to Clinical and non clinical type . but for some reason it show me this error after running dataflow . Something went wrong while executing the Adding Bucket Fields node: invalid field expression for field 'Clinical_NonClinical' [error category: USER]: Syntax Error at position [line 2: column 5] after token when :: ;Case ;when 'Staff_Role__; (02Kj0000000Kys4EAC_03C5b0000058PisEAE) Reference screenshot of field : Syntax of Case function : Case when 'Staff_Role__c' == "A1A Clinical" then "Clinical staff"when 'Staff_Role__c' == "A1A Commercial Manager" then "Non-Clinical staff"when 'Staff_Role__c' == "A1A Commercial Staff" then "Non-Clinical staff"when 'Staff_Role__c' == "Buy Up Commercial Manager" then "Non-Clinical staff"when 'Staff_Role__c' == "Buy Up Commercial Staff" then "Clinical staff"else "other" end please help me if you find any error in function syntax or something missing 더 보기Slack에서 답글 달기
Junaid Liaquatusing Case Function in compute expression node in CRM analytics DataflowsI am trying to use Case function in Compute Expression to bucket Staff Role field values in to Clinical and non clinical type . but for some reason it show me this error after running dataflow . Something went wrong while executing the Adding Bucket Fields node: invalid field expression for field 'Clinical_NonClinical' [error category: USER]: Syntax Error at position [line 2: column 5] after token when :: ;Case ;when 'Staff_Role__; (02Kj0000000Kys4EAC_03C5b0000058PisEAE) Reference screenshot of field : Syntax of Case function : Case when 'Staff_Role__c' == "A1A Clinical" then "Clinical staff"when 'Staff_Role__c' == "A1A Commercial Manager" then "Non-Clinical staff"when 'Staff_Role__c' == "A1A Commercial Staff" then "Non-Clinical staff"when 'Staff_Role__c' == "Buy Up Commercial Manager" then "Non-Clinical staff"when 'Staff_Role__c' == "Buy Up Commercial Staff" then "Clinical staff"else "other" end please help me if you find any error in function syntax or something missing 더 보기