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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Two fields in one dimension

Is there any code to combine two fields in one dimension? Example like object_operator and stuffs_operator displaying in one dimension.

FYI: I'm not refering to cyclic group

6 Replies
Not applicable
Author

Depends on what kind of chart you are using. For instance, if you are using a pivot, you can add calculated dimension and combine the two fields

Not applicable
Author

Pls check..

object_operator & stuffs_operator As [object_operator stuffs_operator],

Regards-Bika

narender123
Specialist
Specialist

Hi ,

You can make it as composite kay in script.

Like:

load

object_operator,

stuffs_operator,

object_operator & '-' &stuffs_operator as Key

from Table abc;

Thanks,

Narender

er_mohit
Master II
Master II

Try this in dimension

object_operator & '  ' & stuffs_operator

hope it helps

Not applicable
Author

Yes, i'm using pivot table. How to combine them?

Not applicable
Author

add a calculated field as dimension wheren concatenate them using & operator. Checkout the sheet 1 in the attached Sales file.