Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help to build up Excel-Database

Hello,

following problem:

I've created a QlikView-file that should represent costs (actual, forecast, target) and quantities (same here).

There are x productgroups and every group have a different amount of products (example: Productgroup 1 have 10 products, productgroup 2 have 7 prodcuts, ...). In one productgroup couldn't be the same product then in another.

Till now it's no problem and I will build up the table like this for example:

ProductgroupProductActual costsTarget costsForcecast costsActual quantitieTarget quantitieForecast quantitie
1. ProductgroupProduct 1.1102018354037
1. ProductgroupProduct 1.2152022103015
1. ProductgroupProduct 1.3122015203035
2. ProductgroupProduct 2.1304035100200140
2. ProductgroupProduct 2.2203030500050006000
2. ProductgroupProduct 2.3123030200400400
2. ProductgroupProduct 2.4324040300050005000
2. ProductgroupProduct 2.572013102015

But I also need to consider the time-dimension - That means, the given table is valid for the actual year 2012. Now I need to break it down on a monthly view and I need to add the data from the last year 2011 (there the forecast get droped).

How could I add the time-dimension in this table? Should I create a complete new table? Is it possible to build it up in only one table? -> Later at Qlikview I will change the view between the years and the months (to get a more detailed view).

Thanks for every help.

3 Replies
Not applicable
Author

you can change chart to pivot table, add time dimension and move it to the top (i mean make it horizontal view)

Not applicable
Author

You mean in Excel or in QlikView change to a pivot-table?

In Excel I've now done something like this (only the first two products because is a lot of work):

ProductgroupProductActual costsTarget costsForcecast costsActual quantitiesTarget quantitiesForecast quantitiesYearMonth
1. ProductgroupProduct 1.11,001,001,005,005,005,0020122012_01
1. ProductgroupProduct 1.11,501,001,256,005,006,0020122012_02
1. ProductgroupProduct 1.10,502,000,753,0010,002,0020122012_03
1. ProductgroupProduct 1.12,252,002,507,008,006,0020122012_04
1. ProductgroupProduct 1.11,251,001,005,005,006,0020122012_05
1. ProductgroupProduct 1.11,752,001,757,007,007,0020122012_06
1. ProductgroupProduct 1.10,501,000,504,005,005,0020122012_07
1. ProductgroupProduct 1.11,251,001,505,005,005,0020122012_08
1. ProductgroupProduct 1.1 2,002,00 10,009,0020122012_09
1. ProductgroupProduct 1.1 2,00 10,00 20122012_10
1. ProductgroupProduct 1.1 1,00 5,00 20122012_11
1. ProductgroupProduct 1.1 1,00 5,00 20122012_12
1. ProductgroupProduct 1.21,001,001,006,005,005,0020122012_01
1. ProductgroupProduct 1.21,001,001,005,005,006,0020122012_02
1. ProductgroupProduct 1.21,002,001,006,008,007,0020122012_03
1. ProductgroupProduct 1.22,002,001,506,008,006,0020122012_04
1. ProductgroupProduct 1.21,001,001,007,005,006,0020122012_05
1. ProductgroupProduct 1.22,002,001,505,007,007,0020122012_06
1. ProductgroupProduct 1.21,001,001,005,005,005,0020122012_07
1. ProductgroupProduct 1.21,002,001,507,008,006,0020122012_08
1. ProductgroupProduct 1.2 1,001,50 5,009,0020122012_09
1. ProductgroupProduct 1.2 1,00 5,00 20122012_10
1. ProductgroupProduct 1.2 2,00 9,00 20122012_11
1. ProductgroupProduct 1.2 2,00 9,00 20122012_12
1. ProductgroupProduct 1.11,001,00 5,005,00 20112011_01
1. ProductgroupProduct 1.11,001,00 5,005,00 20112011_02
1. ProductgroupProduct 1.11,002,00 5,0010,00 20112011_03
1. ProductgroupProduct 1.11,502,00 6,008,00 20112011_04
1. ProductgroupProduct 1.11,501,00 5,005,00 20112011_05
1. ProductgroupProduct 1.11,502,00 6,007,00 20112011_06
1. ProductgroupProduct 1.12,001,00 6,005,00 20112011_07
1. ProductgroupProduct 1.12,001,00 6,005,00 20112011_08
1. ProductgroupProduct 1.11,002,00 5,0010,00 20112011_09
1. ProductgroupProduct 1.11,002,00 5,0010,00 20112011_10
1. ProductgroupProduct 1.12,001,00 5,005,00 20112011_11
1. ProductgroupProduct 1.11,001,00 5,005,00 20112011_12
1. ProductgroupProduct 1.21,001,00 5,005,00 20112011_01
1. ProductgroupProduct 1.22,001,00 4,005,00 20112011_02
1. ProductgroupProduct 1.22,002,00 5,008,00 20112011_03
1. ProductgroupProduct 1.21,002,00 5,008,00 20112011_04
1. ProductgroupProduct 1.21,001,00 6,005,00 20112011_05
1. ProductgroupProduct 1.22,002,00 7,007,00 20112011_06
1. ProductgroupProduct 1.21,501,00 6,005,00 20112011_07
1. ProductgroupProduct 1.21,502,00 7,008,00 20112011_08
1. ProductgroupProduct 1.22,001,00 6,005,00 20112011_09
1. ProductgroupProduct 1.21,501,00 5,005,00 20112011_10
1. ProductgroupProduct 1.21,002,00 4,009,00 20112011_11
1. ProductgroupProduct 1.22,002,00 8,009,00 20112011_12

And this type of list I've to convert into a pivot-table?

Not applicable
Author

Forget about the pivot table.  Just add a column to your source to indicate the time period.  You actual did this above with YEAR_MO.

YEAR_MO is now a selectable dimension.

You can stack as many years/months as you want.

If you have a file per month and the file name contains the YEAR_MO you can extrapolate that field from the filename in the load script.