Being very new to QlikView development, I am forced to ask for some help to solve a challenge. I hope and think it should not be very complicated; still, I am stuck...
I have sales of a product. The comes in different size categories. In my excel setup, I have the different sizes in the columns. Sales volumes of each size category (product) is available in a variable in my report. Achieved price is available as turnover (variable) divided by sales volume. Reference price is joined in by an Excel file, one value for each size category of the product. Finally, achieved price is calculated as achieved price minus reference price.
For each column (each size category) all these variable should be shown. On the far right column, there should be sums / weighted averages (using volumes as keys for averages).
Finally, there will be many customers, and the total sum of the columns, should be weighted averages (by volume again) in each column.
I have included an example file, showing how I used to do this in Excel (using a pivottable to present data from a dump from Business Objects).
I am unsure whether to use a simple table or pivot to achieve the layout and content I am after.
Very grateful for any advice / recipe to put me on track.
|Example layout, full report with many customers|
|Customer Name||Data||010020||020030||030040||040050||050060||060070||070000||Grand Total|
|Dummy 1||Volume||1 785||37 779||158 299||383 938||162 654||744 455|
|Achieved vs Reference||1,91||0,81||-0,23||-0,45||-1,08||-0,47|
|Dummy 2||Volume||13 792||1 520||113 805||338 132||186 362||85 452||739 065|
|Achieved vs Reference||0,25||-4,17||0,42||0,26||2,44||0,70||0,88|
|Dummy 3||Volume||9 546||59 494||58 224||256 012||76 346||17 163||476 785|
|Achieved vs Reference||1,54||0,14||1,08||1,69||4,55||4,52||1,98|
|Volume||1 785||61 118||219 313||555 967||756 798||262 708||102 616||1 960 305|
|Achieved vs Reference||1,91||0,79||-0,16||-0,11||0,46||3,05||1,34||0,63|
Tor Olav Alme
QV layout and logic.xlsx 15.0 K