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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Kohli
Creator II
Creator II

& symbol in qlik

I have 2  field From and TO.

From   TO

Del-    Ban

Ban-   Del

Chn-  Bom

i want new filed like sector

From   TO         sector

Del-    Ban       Del-Ban

Ban-   Del        Ban-Del

Chn-  Bom       Chn-Bom..

Script:

LOAD

    "Flight No",

    "From",

    "TO",

    STD,

    STA,

    "From" '&'-'&' "TO" as Sector

It's not working

3 Replies
vishus913
Partner - Creator
Partner - Creator

Hey what is the output you are getting?

sunny_talwar

May be try this (you had an extra single quote before first & and after the second &

"From"     &      '-'      &      "TO" as Sector

Ivan_Bozov
Luminary
Luminary

Why putting '-' as the field already has it? Try:


From & TO AS Sector

vizmind.eu