Different summations using SQL with TI
Posted: Fri Oct 19, 2012 2:24 pm
Hi there
im using a simple SQL to load my cube with data:
select * from[/b]
this will take around 1-1½ hours to load (around 10 million rows) and ive mapped out the variables i want to use in the cube.
The problem is that this gave me the wrong total in the cube... so I rewrote the SQL to this.
[b]Select A, B, C, sum(Amount), sum(quantity) from [Table] group by A, B, C[/b]
and then I got the correct summations plus it took 15 minutes to build the cube...
So my question/wondering would be if anyone else has discovered this? Is it a known issue or is [b]Select * from [Table][/b] the incorrect syntax for ODBC connections?
/Peter
im using a simple SQL to load my cube with data:
select * from