Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Exclude a value in a chart

Hi there are a lot of answer on that subject but no one seem to work for me, so it may have been already answered.

I have a dimension 'IssuerSector' whitch can be '#N/A' I need to exclude this value in a chart.

I tried an if condition:
if(IssuerSector <> '#N/A', IssuerSector), or if(IssuerSector <> '#N/A', null(), IssuerSector).
It never worked. I even tried to replace it by another value: if(IssuerSector = '#N/A', IssuerSector = 'Government') it didn't work either.


How can I exclude this value?

Here a is the proporties, maybe I forgot something.

IssuerSector.png
Thanks in advance.


1 Solution

Accepted Solutions
Not applicable

Re: Exclude a value in a chart

Hi,

try this but in Éditer:

if(IssuerSector <> '#N/A', IssuerSector)


and deselected "activer la condition"



6 Replies
Not applicable

Re: Exclude a value in a chart

Hi,

try this but in Éditer:

if(IssuerSector <> '#N/A', IssuerSector)


and deselected "activer la condition"



Not applicable

Re: Exclude a value in a chart

The field you are using is to show or not the dimension itself (as a whole)

Create a calculated dimension (instead of your current dimension), and enter your equation:

if (xxxx <> '#N/A', xxxx)

Fabrice

giakoum
Honored Contributor II

Re: Exclude a value in a chart

sum( {$<IssueSector = IssueSector - {"#N/A"}) >} Sales )

luis_pimentel
Contributor III

Re: Exclude a value in a chart

Use this

if(IssuerSector <> '#N/A', IssuerSector)

inestead of your current dimension. You can modify your current dimension with the Éditer button that you have in your snapshot.

Not applicable

Re: Exclude a value in a chart

I just needed to modify the expression in the "Editer" section not in the field I was writing in, thanks a lot

Not applicable

Re: Exclude a value in a chart

you welcome.

Community Browser