I’m getting crazy with this problem:
I have got some Oracle SQL-Reports to redesign them with BIRT. The first things worked great but now there is a SELECT in the report that uses GROUP BY and for any reason it is not working in BIRT…
There is always an error like “GROUP BY clause is no GROUP BY expression.
The problem seems to be a parameter I’m using in the GROUP BY part because when I remove the parameter and pass any value in the query directly it is working.
Does anyone know how to solve this problem?
Greetings
The problem seems to be that I had to add the same parameter twice (one ? for the select, one for group by) and BIRT does not replace the ? with its value but using SQL Parameters and they are different also when they point to the same target. Or something like that. Using a “temp table” as explained in the linked topic (stackoverflow.com/questions/6059412/…) worked for me!