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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Lucky1
Creator
Creator

How to remove &symbol in table

Hi i have a pivot table with values

Status

Completed

& Completed &pending

Pending

&Pending

 

I want to remove & symbol if the value start with &symbol i want result like

Status

Completed

Completed &pnlending

Pending

Pending

Labels (5)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

7 Replies
BrunPierre
Partner - Master II
Partner - Master II

Try this.

Trim(If(Left(Field, 1) = '&', Mid(Field, 2), Field))

Lucky1
Creator
Creator
Author

Tried not working brunpierre

BrunPierre
Partner - Master II
Partner - Master II

BrunPierre_0-1685531108631.png

Chanty4u
MVP
MVP

Try this in your calucauted dimension 

replace(Status, '&', '')

 

Lucky1
Creator
Creator
Author

Thanks brun.sorry in my pivot table my values are like &

Completed

If we have & symbol it will start with next line.i have used chr(10)in my code

 

Lucky1
Creator
Creator
Author

Hi BrunPierre.Thanks for your reply.I have status field like below.not like  & securities services.I want to remove this & symbol if the values start with & symbol

 

Lucky1_0-1685533055850.png

 

I have status field like this 

Chanty4u
MVP
MVP

Did you tried this ?

YourTable:

LOAD

   Replace(Status, '&', '') as Status

FROM YourDataSource;

 

Or

Anyone you can use 

In calucauted dimension

replace(Status, '&', '')