Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to rearrange excel file into Qlikview

Hi guys, would be wonderful if someone can help me out! Thanks in advance.

Excel File view:

              A                            B

1            File                        Incremental Data

2            Date                      9-5-2018

3

4           Client Number        Status

5           1                            Not Started

6           2                            Started

7           3                            Completed

8           4                            Started

9           5                            Not Started

10        6                            Completed 

Ideal result in Qlikview:

File                          Date                  Client Number      Status

Incremental Data     9-5-2018             1                            Not Started

Incremental Data     9-5-2018             2                            Started

Incremental Data     9-5-2018             3                            Completed

Incremental Data     9-5-2018             4                            Started

Incremental Data     9-5-2018             5                            Not Started

Incremental Data     9-5-2018             6                            Completed

1 Solution

Accepted Solutions
kamielrajaram
Creator III
Creator III

Hi,

Not sure if this is what you require.Try this in the load

LOAD File,

     Date(Floor(Date(Date))) as Date

FROM

(ooxml, embedded labels, table is Sheet1, filters(

Remove(Row, RowCnd(Interval, Pos(Top, 3), Pos(Top, 10), Select(3, 0))),

Transpose()

));

join

LOAD Num([Client Number]) as [Client Number],

     Status

FROM

(ooxml, embedded labels, table is Sheet1, filters(

Remove(Row, Pos(Top, 3)),

Remove(Row, Pos(Top, 2)),

Remove(Row, Pos(Top, 1))

));

Kind Regards

Kamiel

View solution in original post

5 Replies
sasiparupudi1
Master III
Master III

pl attach the sample excel file

isingh30
Specialist
Specialist

Your data is not clear. Please attach sample application or data in excel sheet

Thank you!

Anonymous
Not applicable
Author

thanks for your reply, i've added a sample(see attachment).

Anonymous
Not applicable
Author

thanks for your reply, i've added a sample(see attachment).

kamielrajaram
Creator III
Creator III

Hi,

Not sure if this is what you require.Try this in the load

LOAD File,

     Date(Floor(Date(Date))) as Date

FROM

(ooxml, embedded labels, table is Sheet1, filters(

Remove(Row, RowCnd(Interval, Pos(Top, 3), Pos(Top, 10), Select(3, 0))),

Transpose()

));

join

LOAD Num([Client Number]) as [Client Number],

     Status

FROM

(ooxml, embedded labels, table is Sheet1, filters(

Remove(Row, Pos(Top, 3)),

Remove(Row, Pos(Top, 2)),

Remove(Row, Pos(Top, 1))

));

Kind Regards

Kamiel