Discussion Board for collaboration on QlikView Scripting.
I am having problem loading data out of an qvd that is made out of an excel(top row is header of the qvd). I am attaching the excel from the qvd here. It is originally like this
I want it like below, order does not matter. I tried the discussion How to load a crosstable with two header rows/2 attribute fields. but in their case first row has product and 2nd row has dates which repeat for a product to product for 1st row.
In my case the Departments DP1 or DP2 might appear based on their business month. Hence Jul month has 3 department whilst Aug only has 2 departments.
The problem is that first row has the date merged out of number of departments columns, the second row has the department merged out of 2 columns.
Hi Sunny thanks for the reply I have not tried this solution yet but it seems like it makes the horizontal dimensions as a inline load, in my case the Department DP1,DP2 and DP3 keeps changing per month. If you see Aug only has DP1 and DP2. Further I dont mind of the value in @4,@6,@8,@33 and @35 appear in a different column.
What do you think in you expert opinion?
Hi Amit and Sunny.
I tried the solution you posted by gwassenaar,. The thing is i have files with different amount of line items and the number of horizontal dimenssion is also changing so no pre decided stuff.
Please see attached.
Hi sunindia I tried the solution it had a problem with that.
I am still trying , just wanted to show you the explanation in ppt link so that you can point out if I am doing something wrong here is the whole application, attached https://dl.dropboxusercontent.com/u/52583586/multi_header_pivot_import.qvw