Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello ! I am new to Qlikview and I have the following problem.
I am trying to import a pivot table using the fill option into qlikview and no matter what I have tried qlikveiw loads only the first line of the pivot.
below is my load script
SET
ThousandSep="'";
SET
DecimalSep='.';
SET
MoneyThousandSep="'";
SET
MoneyDecimalSep='.';
SET
MoneyFormat='SFr. #''##0.00;SFr.-#''##0.00';
SET
TimeFormat='hh:mm:ss';
SET
DateFormat='DD.MM.YYYY';
SET
TimestampFormat='DD.MM.YYYY hh:mm:ss[.fff]';
SET
MonthNames='Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez';
SET
DayNames='Mo;Di;Mi;Do;Fr;Sa;So';
Directory;
LOAD
* FROM ytd.xls (biff, header is 5 lines, embedded labels, table is Pivot$, filters(
Replace
(1, top, StrCnd(null)),
Replace
(2, top, StrCnd(null))
))
;
any help would be very appreciated.
thanks
Hi,
I think the problem comes from your QlikView Version :
With your version : 8.5 SR5 (that is to say 8.5.62995) => I reproduce the problem meanwhile
with the 8.5 SR 6 (8.50.6326.5) I do not have the problem.
The release notes confirm that the QlikView 8.5 SR6 correct the bug 22138 : "Conditional Delete from script only allows one row to be loaded".
So I think the solution is to upgrate your QlikView Version to at least the 8.5 SR6 version (or avoir using conditional delete in your script)
Best regards
Hi,
can you please post the loaded xls file ?
Best regards
Here it is ( and since I changed the excel file I attach the new script)
Directory;
LOAD Account,
Brand,
Total
FROM test.xls (biff, header is line, embedded labels, table is Sheet4$, filters(
Replace(1, top, StrCnd(null)),
Replace(2, top, StrCnd(null))
));
thanks a lot in advance!
Script should be something like
Data:
LOAD Account,
Brand,
Total
FROM
[.\test.xls]
(biff, embedded labels, header is 1 lines, table is Sheet4$, filters(
Replace(1, top, StrCnd(null))
))
WHERE
NOT WILDMATCH(Account, '*Total');
HTH
Peter
I did it but still the same result.
do you want me to post my qlikview file ?
Savvas
The script added by Peter should works,
- In your script, do not forget to erase the header line (the line with the label "Sum of Sales" in your excel).
- I advise you to calculate the partial sums in QlikView directly (that the meaning of the "NOT WILDMATCH(Account, '*Total')" instruction in Peter' script which delete all "total" lines).
Regards
I'm surprised that your problem isn't solved ?
Can you please upload the qvw ?
Here it is.
My problem is that even with a singe multibox I only get the option to select the items from the 1st line!
which QlikView version are you using ?
your qvw works on my computer (after a reload) ??
Regards
I am using version 8.5.
could be this the problem?