Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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
7 Replies
BrunPierre
Master
Master

Try this.

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

Lucky1
Creator
Creator
Author

Tried not working brunpierre

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, '&', '')