Grouping report by month
James111
Member Posts: 63
Hi,
I need group my report by Month - month it's variable,
how i can do this??
James
I need group my report by Month - month it's variable,
how i can do this??
James
0
Comments
-
What exactly is your requirement?
we can suggest some other solution..0 -
When i filtering in Request Filter Fields in the Date filter i need group my report by Month:
I write something like this:
month:=DATE2DMY(Date,2);
CASE month OF
1: m := 'Jan';
2: m:= 'Fab';
3: m:= 'March';
4: m:= 'April';
....
ELSE;
END;0 -
What will happen if the date is Jan 2011 and Jan 2012..?1
-
Or you can use Date table..please try this
http://mibuso.com/blogs/mohana/2011/02/11/monthly-purchase-invoices-in-chart/0 -
Thanks Mohana, but if i want compile i have error in this line:
SETRANGE("Vehicle Card Line"."Date",Date."Period Start",Date."Period End");
Communicat: the variable is not a record mibuso. 'Variable.Field' is invalid0 -
Are you sure you are getting error at this line only..
did you trySETRANGE("Date",Date."Period Start",Date."Period End");0 -
Did you add Date as a dataitem in report or not?0
-
Yes, Date is a DataItem in my report, but i not commplete properties data items--> mayby this is a problem?0
-
You should not use Date as a field name in your table as its a reserved word in navision..0
-
Can i send you in your email?
Nav 5.00 -
Please change the field name and try..0
-
Its worked, i change name from Date to Date2,
Thanks Mohana0 -
welcome :thumbsup:0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
