Exporting labels instead of internal values of enumeration | Community
Skip to main content
Level 3
Apr 12, 2022 3:01 PM UTC
Solved

Exporting labels instead of internal values of enumeration

In campaign classic v7 I have selected the checkbox to export labels instead of enumeration values and still i'm getting the enumeration values in csv file instead of labels. 

I'm exporting extracted data using file transfer to SFTP.

 

I'm trying to export as 'Yes', 'No' instead of '1', '0' but it's not working, any advise would be appreciated.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
_Manoj_Kumar_
_Manoj_Kumar_Accepted solution
New Participant
Apr 13, 2022 5:35 AM UTC

Hello @parmeshwarr3905 

 

You can add this condition in the export expression of your column.

Iif(@COLUMN=1,'Yes' ,'No' )
     Manoj     Find me on LinkedIn

5 replies

_Manoj_Kumar_
_Manoj_Kumar_Accepted solution
New Participant
Apr 13, 2022 5:35 AM UTC

Hello @parmeshwarr3905 

 

You can add this condition in the export expression of your column.

Iif(@COLUMN=1,'Yes' ,'No' )
Translate
     Manoj     Find me on LinkedIn
DavidKangni
New Participant
Apr 12, 2022 4:00 PM UTC

Check if you're using a boolean type for your field. Which means you don't have any defined enumerations for this field.

Thanks,

David

Translate
David Kangni
Level 3
Apr 12, 2022 4:06 PM UTC

Yes @davidkangni the field type is of boolean. could you please suggest how shall I proceed?

Translate
Level 6
Apr 12, 2022 3:51 PM UTC

Hi @parmeshwarr3905,

Are you getting any errors in the audit of export activity?

 

One possible solution could be to add an enrichment before the export and have a string column added to it.

In the expression you can write some code (an Iif() shall do) to find the string value based on the integer.

 

Cheers,

Deb

Translate
Level 3
Apr 12, 2022 4:31 PM UTC

There is no error.

Translate