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: 
Not applicable

To remove last zeros in a particular column

Hi Community,

How to  remove all the last zeros in a particular column like below.

Table:

Coulumn

50,

60,

400,

5050,

050,

Expected output is:

Column

5,

6,

4,

505,

05

Thank you

1 Solution

Accepted Solutions
robert_mika
MVP
MVP

=REPLACE(TRIM(replace(Column, '0', ' ')),' ',0)

View solution in original post

1 Reply
robert_mika
MVP
MVP

=REPLACE(TRIM(replace(Column, '0', ' ')),' ',0)