Ajouter aux favorisJunaid Liaquat (CVS health /Aetna) a publié du contenu dans Einstein Analytics - Bangalore Community (Question initialement posée par Junaid Liaquat)21 sept. 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 Afficher plusAjouter un commentaireRédiger un commentaire...GrasItaliqueSoulignerBarréListe à pucesListe numérotéeAjouter un lienBloc de codeInsérer une imageJoindre des fichiersURL du lienAnnulerEnregistrer0/9000Répondre
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 Afficher plus