AEP Data Prep - Creating a calculated field for marketing channel definitions
Hi all, I’m currently trying to use the calculated field function in Data Prep to write logic for marketing channels, based on different URL parameters. However, I’m struggling with the syntax the interface is expecting, it seems to be semi SQL based but Adobe’s documentation is unclear around what the expected syntax should be.
I’m trying to use the iif function to build out the logic, such as:
iif(web.webPageDetails.URL LIKE ‘%di-social%’, "Social ",
iif…
Has anyone else used calculated fields for a similar purpose? Or are familiar with what syntax is expected for using nested iif statements?