You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

User Defined list and No Values

Accepted answer
27
Views
7
Comments
edited May 5, 2019 11:14AM in Reporting & Analytics for B2C Service 7 comments

Summary

Report & filtering out using user defined list

Content

Hi There,

I've created a report that has a user defined list ($Locations). This variable is used to filter out records on the report. However, I have some records with No value on the Location column. I want to include these records (with No value) on the report when the user selects "All". Below is what I have achieved so far:

$Locations:

Name: USA Value: USA

Name: Mexico Value: Mexico

Name: All Value: All

:

On the filter:

if($Location = 'All', 1, if(CO$Interaction.Location = $Locations, 1, 0))

Type: Constant

Operator: equals 

Value:1

When the user selects All, the report does not display the ones with No Value. I've tried to add "No Value" as another item on the user defined list, but it does not work

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!