on 08-26-2014 7:49 AM
Hi Techies,
I am getting an error message as - "Parse Failed:An Aggregate function is present in the where clause. (UNV0024)"
when I am trying to give max condition in where clause of an object.
well, what I am trying to achieve is I would like to select the reporting Period(let's say A) and that should be based on the maximum value of a column(Let's say B).
and I have given the condition as max(B) in my where clause and I am getting the error message as below..
Please help me on this
I AM WORKING ON BOXI 3.1 .......
You can't do that and to be honest, you should avoid using where clauses.
Instead of where, look into using a CASE statement for your object select.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.