Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

rolling week

My rolling 6 week  logic button has this logic='("' & concat({=$(vprevweek)} distinct WeekAndYear,'"|"') & '")'

if i click on some other button click on rolling week button it wont work if i again click it works. Any idea how to resolve this.

7 Replies
SreeniJD
Specialist
Specialist

Hi

Your question isn't very clear.... are you saying that after double click on button, rolling week is claculating?

pls confirm!

Sreeni

Not applicable
Author

yes ... if we double click only rolling week logic works or else with one click it does not work

sujeetsingh
Master III
Master III

Please come in more words.

Not applicable
Author

could you please tel me rolling 4 weeks logic, so that i can check if my logic is incorrect

SreeniJD
Specialist
Specialist

Last 4 weeks Amount...

Sum({<Year=, Quarter=, Month=, Week=, Date={‘>=$(=WeekStart(Max(Date), -4))<=$(=Date(Max(Date)))’}>} Amount )

Anonymous
Not applicable
Author

this is for chart expression right? i gues he wants logic  for selecting last 4 or 6 weeks in selection box

Not applicable
Author

yes this is for select in field trigger....could you please tel me what will be logic for selection rolling 4 or 6 weeks?