Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bookmarks containing a formula for period selections

Hi,

I have a field (date_YYYYMM) which is formatted as YYYYMM.

My end users want to see the past 3 months standard selected when opening the document. I want to set this up via a bookmark (as they also want other standard selections on opening).

Therefore I built this formula:

>= date(addmonths(date#(max(date_YYYYMM),'YYYYMM'),-3),'YYYYMM') and < date(addmonths(date#(max(date_YYYYMM),'YYYYMM'),0),'YYYYMM').

I have put this in a variable "testperiod"

Now after using advanced search in a selection box,and referring to this variable, all periods have been selected. Which is of course not what I want.

Can anybody help?

many thanks,

Kenneth

0 Replies