Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional with jerarquic dimmension

I have a jerarquic dimmension

I have null values in the expression

I wanna do something like this

=if (isnull(JERARQUICDIMENSION), 'NULL', "JERARQUICDIMENSION")

It isn't working. It seems like i'm seeing the first dimmension of the jerarquic

Thank you

Greetings

Labels (1)
5 Replies
sunny_talwar
MVP
MVP

Is this a dimension? May be try this:

If(Len(Trim(JERARQUICDIMENSION)) <> 0, JERARQUICDIMENSION)

Not applicable
Author

yes! is a dimmension

I think it's not working

The dimension should be

if is null = 'Null value'

If not = ' Dimension'

sunny_talwar
MVP
MVP

Above is working the same way as you have described, Have you checked "Suppress When Value Is Null" on the dimensions tab???

Capture.PNG

The box should have tick mark next to it.

HTH

Best,

Sunny

Not applicable
Author

Yeah. Sory if i didn't expressed myself well.

I dont' wanna supress the null values. I wanna have a name for that. In this case it would be 'No Client'

You understand ?

Thank you

Greetings

sunny_talwar
MVP
MVP

Try this:

If(Len(Trim(JERARQUICDIMENSION)) <> 0, JERARQUICDIMENSION, 'No Client')