I have a report that is currently grouped by "day" for a date range selected. But other people want to run the same report for different time period, ie Day, Week, Month, Year etc.
I want to offer this choice via a parameter DAY, WEEK, MONTH etc, but i dont know the formula to write in the group section....
if {@Group By Period Formula} = "DAY"
then (formula for daily) else
if {@Group By Period Formula} = "WEEK"
then (formula for weekly) else
if {@Group By Period Formula} = "MONTH"
then (formula for monthly) else
I dont know the formualsfor daily, weekly, monthly