Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I get an 'OLEDB Read Failed' when i am connecting QlikView to my MS SQL Server data base after adding the following expression at preceding load time:
Sum(MedicalAidAmount + Shortfall)
MedicalAidAmount and Shortfall are two different columns in my data base. Can one sum across columns at load or this transformation is not allowed. If i remove this transformation from the preceding load, there is no problem, data reading goes well.
Any ideas on what is going?
If you want to use sum() you will need a group by statement, too for this load and if not you should better use:
RangeSum(MedicalAidAmount, Shortfall)
- Marcus
can u try tis,
Sum(MedicalAidAmount) +sum( Shortfall)
Playing a hunch, but can you give the column a unique alias in the result set and see if things get better?
Sum(MedicalAidAmount + Shortfall) AS ReallyUniqueColumnName
If you want to use sum() you will need a group by statement, too for this load and if not you should better use:
RangeSum(MedicalAidAmount, Shortfall)
- Marcus
Many thanks, that's what i have and it fails load
Thanks Marcus will try this
Many thanks will try out