web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Creating a list with items sold by year by month

(0) ShareShare
ReportReport
Posted on by 195

I'm trying to do some inventory analysis, is there a way to create a smart list or report that has item sales listed by year by month?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mike Smith Profile Picture
    6,840 on at

    Ben,

    Do you have access to SmartList/Excel Report Builder?

    You could create a SmartList with Year and Month Calculated fields and group on Year and Month with Summary on Extended Amount, Quantity, or other measure.

    You could also do this with standard SmartList, export to Excel, establish the Year and Month columns and use a Pivot Table to analyze.

    Just make sure whatever tool is used that you account for voids and returns and anything else that may impact your report totals.

  • Victoria Yudin Profile Picture
    22,769 on at

    Ben,

    If you have SmartList Builder or another reporting tool, I have a bunch of SQL code posted to show sales data a few different ways if you are using the SOP module: victoriayudin.com/.../sop-sql-views.  Hopefully some of these will help with what you're looking for.

  • GPDavid Profile Picture
    2,250 on at

    In GP, there is an Item Period History by Site/Item report found under Reports | Inventory | History.  Select the report called "Item Period History" and see how that works for you.

  • Ben Clester Profile Picture
    195 on at

    I'm trying to get access to the report builder and may have it on friday. Mike, when you say establish do you mean manually input the month and year? I ask because I was doing what David recommended, but having to input all of the data was getting to be too time consuming.

  • Mike Smith Profile Picture
    6,840 on at

    You can create 2 calculated field in SmartList/Excel Report Builder for this: "CalcMonth" and "CalcYear" (or whatever you want to call them).

    CalcMonth:

    DATEPART(MM,DataFieldGoesHere)

    CalcYear:

    DATEPART(YYYY, DataFieldGoesHere)

    This will create the necessary "Year" and "Month" numbers for creating summary reports or Pivot Table analysis (no extra data entry).

    While I haven't reviewed Victoria's SQL queries, you may be time and resource commitment ahead to review these with the IT team as she may have already done some heavy lifting already in these queries.

  • Ben Clester Profile Picture
    195 on at

    Yea it looks like Victorias written what I need, just need to get familiar with report builder. Thanks everybody for your help.

  • Mike Smith Profile Picture
    6,840 on at

    Ben,

    When you mention "report builder", are referencing SQL Reporting Services "Report Builder" or GP's SmartList/Excel Report builder?

    If using SQL Reporting Services "Report Builder", there is a report wizard that works awesome with prebuilt queries like what Victoria has.  You can basically take the "select" portion of a query and embed this in the report and then work through the wizard, grouping by the "Month" and "Year" fields in the query (assuming some items in the query here but it is super easy once you get used to it).

  • Ben Clester Profile Picture
    195 on at

    It would be GP's SmartList/ Excel Report builder, Which is different than what Victoria wrote her code in right?

  • Victoria Yudin Profile Picture
    22,769 on at

    Ben,

    What I recommend is using my code to create a SQL view, then pointing SmartList/Excel Builder at that view.  Here is a blog post going through the steps of doing this with SmartList Builder: victoriayudin.com/.../how-to-use-a-sql-view-in-smartlist-builder.

  • Ben Clester Profile Picture
    195 on at

    Finally, got the information I needed; thanks for everyone's help.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans