Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
The data displayed on the report have an offset of -1, ie, on April 19th, the data is as of April 18th.
Need to offset the day by ‘-1’.
When the report is opened, the month filter should be on March not on April. You need to offset the day by ‘-1’
By using this variable able to display the Previous day.
How to write in if else conditional statement if(April-1)->March
LET vRefreshDate = Today()-1;
Yes that is what it will give you.
vRefreshMonth = Month(Today() - 1)
vRefreshDate = Date(Today() - 1)
May be this:
vRefreshMonth = Month(Today() - 1)
or for date
vRefreshDate = Date(Today() - 1)
or
=date(urdate-1)
or
=Date(Today()-1)
If I' Using the vToday() then above things will work.I have a Column with Cal_Year.
By max(Cal_Taer) i can get the max-Month,date but how to put in the if else logic if(vday=1,vmonth=May,vday=31,vMonth=April)-Actually i'm trying in this way but no luck.Expecting solution as stated.
This doesn't seem like a good way, but may be this:
If(vday = 1 and vmonth = 'May' and vday = 31, 'April')
Sorry,I didn't explained in good way.I kept the expression for Understandable.
I'm expecting in dynamic way if every month start it should take the prior month last date.
Expecting in the multi conditional statement in a Text Object.
How can the above Scenario can be achieved?
=Month(MonthName(Today())-1)
Is there a sample you can share? I am not entirely sure how your data looks like
Hi
like this
=Date(MonthStart(Today())-1)
On Open of the Document need to get the Year,Month.
Attached the sample,implemented the Triggers .
My Question is the Variable "vRefreshMonth = Month(Today() - 1)"
,will always give the expect result like below or is there any other way to achieve this
Refresh Date | Expected Date | Expected Month |
4/19/2016 | 4/18/2016 | Apr |
5/1/2016 | 4/31/2016 | Apr |
5/2/2016 | 5/1/2016 | May |