Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all.
I have a Excel file with grouped data rows. Example:
Article | Nomenclature | Quantity |
---|---|---|
Warehouse 1 | ||
Inflow from 01-01-2014 | ||
4555-16 | Mug | 50 |
1924-16 | Coffee Pot | 20 |
10688-18 | Teapot | 10 |
Outflow from 31-01-2014 | ||
455-16 | Mug | 15 |
1924-16 | Coffee Pot | 9 |
10688-18 | Teapot | 6 |
Yes! Stupid base
I need transpose and fill data and create next table in QV:
Warehouses | Inflow/Outflow | Article | Nomenclature | Quantity |
---|---|---|---|---|
Warehouse 1 | Inflow from 01-01-2014 | 4555-16 | Mug | 50 |
Warehouse 1 | Inflow from 01-01-2014 | 1924-16 | Coffee Pot | 20 |
Warehouse 1 | Inflow from 01-01-2014 | 10688-18 | Teapot | 10 |
Warehouse 1 | Outflow from 31-01-2014 | 455-16 | Mug | 15 |
Warehouse 1 | Outflow from 31-01-2014 | 1924-16 | Coffee Pot | 9 |
Warehouse 1 | Outflow from 31-01-2014 | 10688-18 | Teapot | 6 |
How I can did it? Any ideas.
Thank you.
Hi Dmitry,
Please find the attached Excel along with QVW fille.
I hope it answers your problem.
macro in excel and run it before load data in QV
If I understand correctly:
1. Open XLS file
2. Run Macros
3. Save XLS file after macros finished
4. Load in QV.
Correctly?
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
Hi Dmitry,
Please find the attached Excel along with QVW fille.
I hope it answers your problem.
An easy and well performing solution.... Well Done Mahesh Agrawal
hi mahesh..superlike
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.
You are most welcome
well done mahesh