i want to present dims and expression that will respond to user selection and one expression that will calculate previous month value based on current selection .
created a field in script as below :
AddMonths((MakeDate(xyear,xmonth,01)),-2) as the_prev_date,