Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Remove Hyphen from the database

Hello Everyone,

I have the data where it mention as,  i want to prepare a pivot table where dimension will be my design no with out Hyphen.

  

DESIGN_NOSALES QTY
1425895-EE1
14532861-FD2
58462879999-FF5
1425895-EF4
1425895-EG8
1425895-DD9
14532861-FF10
58462879999-FA1

How to get the data without hyphen,

After Removing of Hyphen,  

Row LabelsSum of SALES QTY
142589522
1453286112
584628799996
Grand Total40
11 Replies
avinashelite

You could use it in both the front end and script level ...Script end is the most preferred one

its_anandrjs

You can try this

On UI you can do

Dimension :- Subfield( DESIGN_NO,'-',1

Expression:- Sum( [SALES QTY] )


On Load Script


Load

Subfield( DESIGN_NO,'-',1 ) as DESIGN_NO,

[SALES QTY]

From Location;