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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loading combine rows in Qlik

Hello my friends!

I have a problem loading a merge/combine cells, I would like to add the name of the Merge/combine cells in all the fields but I don´t know how to do that

qlik2.png     qlik1.png

1 Solution

Accepted Solutions
sunny_talwar

You can use Peek/Previous functions to do this.

Something like this:

If(Len(Trim(NameofTheField)) = 0, Peek(NameofTheField), NameofTheField) as NameofTheField,

You just need to make sure that sorting is done correctly, else you will see weird results.

View solution in original post

6 Replies
Not applicable
Author

Hi Juan,

have a look at using peek for this

if(SE_MMPP_CTR<>Peek(SE_MMPP_CTR), SE_MMPP_CTR, Peek(SE_MMPP_CTR) As SE_MMPP_CTR

or something along those lines

hope that helps

Joe

sunny_talwar

You can use Peek/Previous functions to do this.

Something like this:

If(Len(Trim(NameofTheField)) = 0, Peek(NameofTheField), NameofTheField) as NameofTheField,

You just need to make sure that sorting is done correctly, else you will see weird results.

Anonymous
Not applicable
Author

try this at script level like:

concat(Field1, Field2) as ConcatenatedFieldName

Hope this help!!

Not applicable
Author

Thanks for all!! It works!!

Not applicable
Author

Sorry but I check the Qlik and the layout was the following:

it seems like it add one more value for each aprt of the field but it didn´t fulfill all the GAPS. any idea?

qlik3.png

sunny_talwar

Would you be able to share a small sample?