Expand my Community achievements bar.

Join expert-led sessions on Real-Time CDP & Journey Optimizer designed to boost your impact.
SOLVED

Create an audience with criteria comparing two profile attributes

Avatar

Level 4

Hi, I have a question about how to specify a certain rule when defining an audience in AEP. I have these two date fields into the profile: RefDate1 and RefDate2. In audience builder I want to have some condition like RefDate1 <= RefDate2. How do I specify it in the GUI?

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi @GabrielaNa1 ,

 

Helpful video here

You can drag and drop the field like this:

supratim320_0-1746641081976.png

You can choose how to compare: whether to form a group with the 1st attribute or use in comparison. Once I have chosen for comparison, it will look something like below:

supratim320_1-1746641156503.png

 

Hope this resolves!

View solution in original post

4 Replies

Avatar

Correct answer by
Level 6

Hi @GabrielaNa1 ,

 

Helpful video here

You can drag and drop the field like this:

supratim320_0-1746641081976.png

You can choose how to compare: whether to form a group with the 1st attribute or use in comparison. Once I have chosen for comparison, it will look something like below:

supratim320_1-1746641156503.png

 

Hope this resolves!

Avatar

Level 4

Thanks, @supratim320 , that is exactly what I was looking for!

Avatar

Level 7

Hi @GabrielaNa1 ,

 

Not sure about GUI based direct comparison between two attributes like you mentioned but you can try Query Service to write a SQL query that flags profiles where RefDate1 <= RefDate2, and store the result in a new profile attribute.

Avatar

Level 4

Thanks. This will work for that particular one example, but lacks flexibility. @supratim320 answer is what I was looking for.