Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

rename 1 field from the dimension

Hi guys!

I already used the pick and match function to rename values in my dimension.

But what do I do when I only want to rename 1 value.

As you can see in the attachment there is one field in english, I would like to rename this.

I used:

=(pick( WildMatch(reason_uitleg,'*Address uninhabited*'),'Onbewoond'))

But then I get only one bar called 'onbewoond' and all the rest is accumulated in one bar called '-'

How do I only rename one value and leave the rest unchanged?

Kind regards,

Katleen

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

=if ( WildMatch(reason_uitleg,'*Address uninhabited*') , 'Onbewoond' , reason_uitleg )

View solution in original post

7 Replies
Not applicable
Author

Hi,

The easiest way is to rename the value in the LOAD table.

You can use also in Chart Properties - tab Presentation - Limit Legend (Characters).

In Presentation Tab there a lot of function which you can use to fix this problem.

Regards,

Venelin

Anonymous
Not applicable
Author

=if ( WildMatch(reason_uitleg,'*Address uninhabited*') , 'Onbewoond' , reason_uitleg )

Not applicable
Author

Sorry,

I don't understand the question corectly at first time.

I think that your solution is correct, Bill Markham .

Not applicable
Author

I made a sample qvw, perhaps you can show me how it is possible?

Kind regards,

Katleen

Not applicable
Author

This works, thanks!

rupaliqlik
Creator
Creator

Add this in Dimension Tab->Add calculated Dimension

=if(reason_uitleg like '*Address uninhabited*','Onbewoond',reason_uitleg )

sudeepkm
Specialist III
Specialist III

you can use if else.

if(reason_uitleg='Address uninhabited','Onbewoond',reason_uitleg)