Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

script

Hi all,

I got the data of loadplace/area/country and the place of unloadplace/area/country in my script:

Revenue.LoadPlace   AS LoadPlace,
Revenue.UnloadPlace   AS UnloadPlace,

now I want a dimension that shows me these 2 behind each other like:

Arnhem - Amsterdam

How to achieve this and it's probably the basics but I tried alot and just can't remember how to solve the issue.

kind regards

1 Solution

Accepted Solutions
its_anandrjs

As i under stand create another field in the load script

Revenue.LoadPlace AS LoadPlace,

Revenue.UnloadPlace AS UnloadPlace,

Revenue.LoadPlace &'-'& Revenue.UnloadPlace as Newfield  //Add new field




New Update:- Without adding that field in the Load statement you are do this in Dimension also like


Eg:-    Revenue.LoadPlace &'-'& Revenue.UnloadPlace



View solution in original post

5 Replies
its_anandrjs

As i under stand create another field in the load script

Revenue.LoadPlace AS LoadPlace,

Revenue.UnloadPlace AS UnloadPlace,

Revenue.LoadPlace &'-'& Revenue.UnloadPlace as Newfield  //Add new field




New Update:- Without adding that field in the Load statement you are do this in Dimension also like


Eg:-    Revenue.LoadPlace &'-'& Revenue.UnloadPlace



Ferran_Garcia_Pagans
Former Employee
Former Employee

Hi Vicent,

Revenue.LoadPlace&' - '&Revenue.LoadUnplace as NewField,

Regards, Ferran.

srchilukoori
Specialist
Specialist

if you are trying to create a simple calculated dimension, you can use

LoadPlace&' - '&UnloadPlace

in the dimensions.

alexandros17
Partner - Champion III
Partner - Champion III

Try with a edited dimension something like:

LoadPlace & ' - ' & UnloadPlace

as your new dimension

Not applicable
Author

Hi Vincent,

Use calculated Dimension.

in that add LoadPlace &'-'& UnloadPlace.

Thank you.