Here is what I need to do:
My users can input one month or a range of months using the simple prompt - BETWEEN statement on my field week_ending_date. Once they input date/date(s), I need to be able to do a MIN of the dates they input as well as a MAX of the dates they input. This is needed to retrieve a true beginning of week inventory and true end of week inventory figure instead of average figures for the whole date range ((want beginning inventory to be from first input week and ending to be from last input week). I can do this is SQL+; however, MSTR is not letting me use MIN/MAX on a date datatype.
Suggestions??? Thanks !!
My users can input one month or a range of months using the simple prompt - BETWEEN statement on my field week_ending_date. Once they input date/date(s), I need to be able to do a MIN of the dates they input as well as a MAX of the dates they input. This is needed to retrieve a true beginning of week inventory and true end of week inventory figure instead of average figures for the whole date range ((want beginning inventory to be from first input week and ending to be from last input week). I can do this is SQL+; however, MSTR is not letting me use MIN/MAX on a date datatype.
Suggestions??? Thanks !!