Junaid Liaquat (CVS health /Aetna) publicou em Einstein Analytics - Bangalore Community (Originalmente perguntado por Junaid Liaquat)21 de set. de 2023, 17: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 Mostrar maisResponder no 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 Mostrar mais