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: 
Not applicable

Row wise users Splitting

Hi All,

I have excel with folder name and user details.

The problem here is file name and the corresponding users are in one single row. But I need them to be splitted per row.

ex: Actual

Folder,user

Fol_001,sa\pr full control

              sa\pqeer-akjha Allow  FullControl

               sa\pqeeer Allow  FullControl

                   sa\pqwqwr Allow  FullControl

                   sa\prded Allow  FullControl

requirement :

Folder,user

Fol_001,sa\pr full control

  Fol_001,            sa\pqeer-akjha Allow  FullControl

Fol_001,               sa\pqeeer Allow  FullControl

    Fol_001,               sa\pqwqwr Allow  FullControl

   Fol_001,                sa\prded Allow  FullControl

Kindly assist

Thanks,

Prajna

5 Replies
Anil_Babu_Samineni

I Assume, You must have like below for inline memory

LOAD * Inline [

Folder,user

Fol_001,sa\pr full control

             , sa\pqeer-akjha Allow  FullControl

              , sa\pqeeer Allow  FullControl

               ,    sa\pqwqwr Allow  FullControl

                ,   sa\prded Allow  FullControl

];

Then use preceding load like below / Post Real and Live Data to seen

LOAD  if(Folder= '', 'Fol_001',Folder) as Folder, user Inline [

Folder,user

Fol_001,sa\pr full control

             , sa\pqeer-akjha Allow  FullControl

              , sa\pqeeer Allow  FullControl

               ,    sa\pqwqwr Allow  FullControl

                ,   sa\prded Allow  FullControl

];

OR

if(Folder= '' or isnull (Folder), Previous(Folder),Folder) as Folder

OR Look this thread by using Transformation

Fill empty cells with value from "above"

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

found the solution

Not applicable
Author

Thanks, I used subfield.It worked

MK_QSL
MVP
MVP

Provide proper sample data.

you can achieve this by using below combination in script.

Resident Load, Peek/Previous, IsNull()

Anil_Babu_Samineni

Then, Share that expression and flag your response as Correct answer it demonstrates and useful to others like Us

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful