Hi All,
Thanks for your time - I have this simple query in OBIEE answers 11g - in the RPD there is an OPV for this data
I am trying to get a MIN and MAX for the given PO Order NO but for some reason when I use the MIN(start date BY ORDER_PO_NO) it works fine
but when I add the MAX(end date BY ORDER_PO_NO) it is again showing the min values instead of giving me the min of those dates
I only want the MIN of State_Date BY PO_ORDER_NO and MAX of END_DATE BY PO_ORDER_NO at the same time I need to show the PO_RELEASE_NO in the report
From the Below screenshot - MIN is right but when I add the MAX(MAX_END_DT BY PO_ORDR_ORDER_NO) it is failing - instead of 01 Oct 14 it is listing all the dates

when I looked athe SQL generated it is very confusing - any suggestions really appreciated
Rj