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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Fill in the blank data columns

Can someone give me some help working through this issue. I need to fill blank columns with data from previous row. I tried several approach but no luck. Any insight is appreciated.

.

Original Table:

Original Data.JPG

Desired Table

Desired Data.JPG

Labels (1)
5 Replies
manojkulkarni
Partner - Specialist II
Partner - Specialist II

This you can do while loading data. With Load Wizard , Select Enable Transformation & then use Fill option to do this operation.

tresB
Champion III
Champion III

try like:

Load
      If(Len(trim(Dim1))>0, Dim1, Peek(Dim1)) as Dim1,
      Dim2,

      Amt;

Load * Inline [
Dim1, Dim2, Amt
AA, bbb, 100
  , ccc, 200
  , ddd, 300
BB, xxx, 400
  , yyy, 500
  , zzz, 600  ]

NareshGuntur
Partner - Specialist
Partner - Specialist

This might help you

Peek till not null

Cheers,

Naresh

Anonymous
Not applicable
Author

Thanks for the reply. This works Great

tresB
Champion III
Champion III

Try to mark the 'Correct Answer' the one reply which is so. That will help many(including me) in many ways.