Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I want to show last 6 months and last 12 months data to users using buttons(6 months button and 12 months button).
By default we want to show the complete data.
I have pivot table with Month-Year as a horizontal dimension.
Please help.
Hi suraj,
use triggers for this case try below expressions in "select in field trigger"
For 6 Months
= '<='&max(MYear) &'>='& date(addmonths(max(MYear),-5),'MMYYYY')
For 12 Months
= '<='&max(MYear) &'>='& date(addmonths(max(MYear),-11),'MMYYYY')
OR simply use this exp
Field : Date
search string : ='>='& Date(addMonths(max(Date),-5),'DD/MM/YYYY') &'<='& Date(max(Date),'DD/MM/YYYY')
attached application for your reference purpose
thanks
sasi
Thanks for your help. you are awesome.