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

How fill some cells from excel file?

Hi all.

I have a Excel file with grouped data rows. Example:

ArticleNomenclatureQuantity
Warehouse 1
Inflow from 01-01-2014

4555-16

Mug50
1924-16Coffee Pot20
10688-18Teapot10
Outflow from 31-01-2014
455-16Mug15
1924-16Coffee Pot9
10688-18Teapot6

Yes! Stupid base

I need transpose and fill data and create next table in QV:

WarehousesInflow/OutflowArticleNomenclatureQuantity
Warehouse 1Inflow from 01-01-2014

4555-16

Mug50
Warehouse 1Inflow from 01-01-20141924-16Coffee Pot20
Warehouse 1Inflow from 01-01-201410688-18Teapot10
Warehouse 1Outflow from 31-01-2014455-16Mug15
Warehouse 1Outflow from 31-01-20141924-16Coffee Pot9
Warehouse 1Outflow from 31-01-201410688-18Teapot6

How I can did it? Any ideas.

Thank you.

1 Solution

Accepted Solutions
mahesh_agrawal
Creator
Creator

Hi Dmitry,

Please find the attached Excel along with QVW fille.

I hope it answers your problem.

View solution in original post

9 Replies
igor-st80
Contributor III
Contributor III

macro in excel and run it before load data in QV

Not applicable
Author

If I understand correctly:

1. Open XLS file

2. Run Macros

3. Save XLS file after macros finished

4. Load in QV.

Correctly?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can load this with some conditional logic and multiple passes over the data. See an example at:

Qlikview Cookbook: Load Input File Containing Multiple Record Types http://qlikviewcookbook.com/recipes/download-info/load-input-file-containing-multiple-record-types/

-Rob

http://masterssummit.com

http://robwunderlich.com

mahesh_agrawal
Creator
Creator

Hi Dmitry,

Please find the attached Excel along with QVW fille.

I hope it answers your problem.

Not applicable
Author

An easy and well performing solution.... Well Done Mahesh Agrawal

preminqlik
Specialist II
Specialist II

hi mahesh..superlike

Not applicable
Author

Mahesh, it's great!

I created macro in excel with this principle, but I don't know how write it in QV.

Thank for solution and algorithm.

mahesh_agrawal
Creator
Creator

You are most welcome

rohit214
Creator III
Creator III

well done mahesh