Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Can a MAX Function serve as a Search Parameter(Can a MAX Function serve as a Search Parameter)
Can a MAX Function serve as a Search Parameter [message #1838825] Fri, 05 March 2021 18:56
Uwe Stieglitz is currently offline Uwe StieglitzFriend
Messages: 3
Registered: March 2021
Junior Member
Hi All,

I am working on my first Search parameters in my report.

The search parameters work fine, when I use a normal data set:

SQL selection:
PFT.ORDER_NO AS ORDERNUMMER,

SQL search parameter in where clause:
/**AND PFT.ORDER_NO = [OrderNummer] */

OrderNummer is also defined in the Report Parameter Section.
So, this works fine....

But the search parameters don't work, when I use a function (here "min") as data set:

SQL selection:
MIN(PFT.LST_UPD_TSTMP) OVER (PARTITION BY PFT.ORDER_NO) AS Date_of_earliest_Approval_of_TX_inOrder,

SQL search parameter in where clause:
/** AND trunc (MIN(PFT.LST_UPD_TSTMP) OVER (PARTITION BY PFT.ORDER_NO)) >= [Date_of_earliest_Approval_of_TX_inOrder]*/

Date_of_earliest_Approval_of_TX_inOrder is also defined in the Report Parameter Section.
So, this does not work...

Does anyone have an idea what I am doing wrong here?

Brgds., Uwe

Previous Topic:Customize Viewerexception
Next Topic:BIRT: Combining results from two tables or cubes
Goto Forum:
  


Current Time: Wed May 01 23:40:31 GMT 2024

Powered by FUDForum. Page generated in 0.02611 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top