on 02-18-2014 2:25 PM
Hi Amir,
If your analytic view has a calculated column then the select query works since even though it is analytical view because of calculated columns it creates additional calculation view like wrappers and hence select works
On the other hand if it doesn't have a calculated column you will get the error you mentioned, in this case you must use the select query with group by clause to solve the issue
Regards,
Krishna Tangudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would likely help speed up analysis if you provided the SQL you are trying to execute rather than just provide the error message alone.
But as Krishna stated, when selecting from an AN you need to always use aggregation functions and group by.
SELECT COL1, SUM("MEASURE1")
FROM AN
GROUP BY COL1
Regards,
Justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.