Discussion Board for collaboration on QlikView Scripting.
I have the next Excel tabel and i want to transform it into another format.
The table in QV should look like this.
Can anyone help me out here, I 've tried (see the attached QV file) but I didn't get to the right result.
Thnx in advance!!
Go to Solution.
add this code to the load script:
'new' as dummy,
sum(FactA) as FactA,
sum(FactB) as FactB,
sum(FactC) as FactC
group by fProduct,
drop table finalTable;
drop field dummy;
not sure if you just wantthe result in a chart or if you are looking for an actaul table with three Facts A, B and C.
The attached qvw shows how to achieve both.
the chart solution can be built straight out of what you already have.
The table solution requires some more code in the script.
I'm looking for a actual table with the three facts, the example you sent me is almost the solution;
But I want the facts on one row so I can perform calculations on row level and not only on aggregated level.
That's it!! Thnx!!