Month on month growth

Hi,

i have been asked to create a sales report. It shows the quantities by month. The report could be run for a given period.

Also I have been asked to show the growth or decline ( by percentage) in sales each month compared to the previous month. I have been unable to get anything like that into the report. i am using NAV 2013 R2 and for the report i am using a matrix. Any ideas?

Thanks in advance.

Amal

You could use column grouping. Please check this link > ishwar-nav.blogspot.in/…/column-grouping-in-report-in-nav-2013-r2.html
This link has the exact report example which you want in your report.
Hope it helps.

Hi Ishwar,

Thanks. I got this part already done. I need to show a calculation that has the month on month growth ie. what is the sales of this month compared to last month as a percentage.

This is what I am looking for

Aug Sep Oct Growth (Oct/Sep) Growth (Sep/Aug)
Item 1 xx yy zz zz/yy yy/xx
Item 2 aa bb cc cc/bb bb/aa

Hope it is more clear now.

Thanks

Amal

It’s clearer now. Always helps with an example. But what exactly have you tried so far? Did you get the report to show the monthly columns ok?

If yes, then you just need to add two more columns. Either “all the way” from NAV (which would give you captions etc.) - or directly in RDLC (Visual Studio). It depends on which “environment” you fell more comfortable with.
In NAV that could be done by adding two global variables and then calculate oct/sep in the first and sep/aug.
Do the assignment of the vars in the item data item and add them to the dataset. In RLDC you then need to add the columns to the same table as your monthly values and then the vars to new columns.

Hi Erik,

Thanks for your suggestion. The problem is the user could select any time period he/she wishes. So it could be two months like sep and oct or 12 months. So I can’t add two variables and calculate manually. It has to be done in the table itself. I have got some ideas from the suggestions, will update after i try them out.

Thanks

Amal

You can use an array of size 12. And only display the non-zero values in your report. Sure, try your ideas too.

yeah we have done some pages in which same(month) like option was given what we have done is i have defined a option type variable which contains optionstring of all months when a user selects an option onvalidate we will set the range for three filter prevprevmonth prevmonth and premonth then we will call the setcolumns function for matrix page .

by default the range should be set in oninit as present month for ex…(if opened todaypreprevmonth = aug prevmonth=sept… etc).

Hi Everyone,

Thank you all for your suggestions. I am still unable to get the extra columns I wanted. For now we are exporting to excel and calculating the values . As Raja suggested I may have to restrict the user to select the start month and show only a set number of months in the report.

Regards

Amal