Friends If i slected todays date my data should sortup as below, how can i achive this?
MOnth
July09
June09
May09
APR09
Mar09
Feb09
jan09
Dec08
Nov08
Oct08
Sep08
Aug08
jul08
Thanks so much,
V
Add a Group based on your Date field and select Descending
for each month.
On the Options tab of this window select Use a formula as Group Name and enter the following formula replacing AP_InvoiceHistoryHeader.InvoiceDate) with your date field.
MonthName (Month({AP_InvoiceHistoryHeader.InvoiceDate}),true )
+
Right (Totext(Year({AP_InvoiceHistoryHeader.InvoiceDate}),0),2)
No, you should not have to do anything else, but it could be how you are linking your records. I do not know what files you are using or linking with. Also, do you have multiple groups in your report?
I tried this formula and did group on it still not working
//If MOnth({?Date}) = Month(Currentdate) then 1
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-1,{?Date}))then 2
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-2,{?Date}))then 3
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-3,{?Date}))then 4
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-4,{?Date}))then 5
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-5,{?Date}))then 6
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-6,{?Date}))then 7
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-7,{?Date}))then 8
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-8,{?Date}))then 9
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-9,{?Date}))then 10
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-10,{?Date}))then 11
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-11,{?Date}))then 12
//else if MOnth({Command.ADDED_DT}) = Month(DateAdd("m",-12,{?Date}))then 13
Hi I have a selection criteria
{Command.ADDED_DT} in CDate(CSTR(Month(DateAdd("m",-13,{?Date})),0,'')&"/1/"
&CSTR(Year(DateAdd("yyyy",-1,{?Date})),0,'')) to {?Date}
But your right I am not able to do by year, is there other way to achieve this?. Because I would be doing sum of amount based on Month and year.
One more question is for my selection criteria
{Command.ADDED_DT} in CDate(CSTR(Month(DateAdd("m",-13,{?Date})),0,'')&"/1/"
&CSTR(Year(DateAdd("yyyy",-1,{?Date})),0,'')) to {?Date}
I amgetting only 12 months, i,c if i slect may2009, i am getting data from May2009 to june 2008 not may 2009 to may2008, Any reason?
LB, is there a way that I can show this months in horizontal manner?
I want to show this way
june july aug spt
instead of
june
july
aug.
Thanks again
V
Friends,
One thing I came up is creating colum headers and created running totals for each month and then created grand summary in report footer. Is there any other easier way?
Vega.
I agree cross tab is one option, I have lot of other formulas, I have try that and see, but I was checking if there any other options. I aprreciate your time , I try cross tab and see if the business users will be okay with that format. But if you have any other ideas , let me know.
Thanks,
V
Thanks LB, I will build solution on cross tab, also how do we achive the same sorting order in cross tab?
like july09 june09 apr09 so onn till july 08?
Thanks so much,
V
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.