I have two issues with parameters -
1). I would like my startdate parameter default to the first day of the month 12 months ago. Here is my parameter query for YearAgo:
select CAST(DATE_FORMAT(date_add(NOW(), interval -1 year) ,'%m-01-%Y') as DATE);
I have set up the report like this:
Parameter: inStartDate
User Input: Default
Default Value: YearAgo
When I run the report - the inStartDate parameter is blank.
2)
I need to have a popup parameter that is based on inLogin. I can't see how to do that through the parameter query. Is there a way to have a pop up menu within the report that is NOT a parameter? Any other way around this?