Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have the following table:
StudentId,MemberId
1,2
2,3
3,4
After loading it into the Memory, is it possible to let them into one field with expression not during the loading time period?
Thanks.
As shown in the screenshot.
Is this what you are trying to accomplish?
Hi,
In the expression of your list box or straight table or wherever you are planning to display it, you can use the following expression:
=StudentID & ' ' & MemberID
SubField(StudentId&','&MemberId,',')
What I want is use one field to show like:
The result is
1
2
3
4
instead of use comma to show them together.
TRY THIS
=concat( StudentId ,',')& ',' &Concat(MemberId,',')
I don't think you can do that on expression level.
By the nature of QlikView, when you select a value, you select a value in a field. Merging two fields of data into one listbox just doesn't make sense -- when you select a value, which field is selected?
Doing this on load script level makes sense because you are basically creating a new field that contains all the data from both.
try this
SubField(StudentId &',' & MemberId ,',' )
************************************************************
a:
LOAD * INLINE [
StudentId, MemberId
1, 2
2, 3
3, 4
];
LOAD StudentId as combined
Resident a;
LOAD MemberId as combined
Resident a;
DROP Table a;