Symptom
Created a Timestamp related attribute, but while using it in segmentation model, it is not showing any result.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP Marketing cloud
Reproducing the Issue
- Create a custom field with the field type set to “Timestamp"
- Enable this field as an attribute in segmentation
- Use this attribute in segmentation model to apply a filter
- You will observe that the result set is empty
Cause
The custom field is created with the field type “Timestamp.” However, in the segmentation configuration, the semantics are set to “Date.”
Resolution
When creating a custom field with the “Timestamp” data type, the attribute semantics should be set to “Date and Time.”
Date and Time
- This semantic type requires an attribute that has the data type SECONDDATE, a numeric type with at least 14 digits, or a character type with at least 14 characters.
- Note that the attribute field in the database must follow the pattern YYYYMMDDhhmmss, unless you are using data type SECONDDATE.
- This type does not support milliseconds. Note that free text search through attributes of semantic type Date and Time is not supported. The search field in the preview is hidden for such attributes.
You can configure this by following these steps: Segmentation Configuration -> Segmentation Profile -> Attribute -> Edit the Semantics
See Also
Keywords
Semantics, Timestamp, Attribute, Segmentation configuration, Date. , KBA , CEC-MKT-SEG , Segmentation , Problem
Product
Attachments
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public