AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Dashboard...
Dashboard to displa...
 
Notifications
Clear all

Questions Dashboard to display Sales for current month and current year for each salesperson

 
Page 1 / 2 Next
Acumatica Dashboards
Last Post by Amanda Biggart 2 years ago
24 Posts
5 Users
2 Reactions
11.6 K Views
RSS
Posts: 58
 sunwayfan
Topic starter
February 20, 2018 11:50 am
(@sunwayfan)
Member
Joined: 8 years ago

How can I create a dashboard in Acumatica which shows numbers - I am trying to display Net Sales of each salesperson in this month in one column and sales in this year in another column.

In Power BI I tried using VitaraCharts but was not able to get the result .

I have created a pivot table in Acumatica which shows Net sales of salesperson in past 13 months. 


23 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
February 20, 2018 3:04 pm
(@timrodman)
Famed Member
Joined: 10 years ago

So you basically want three columns?

1. Salesperson

2. Current Month Sales

3. Year-To-Date Sales


Reply
Posts: 58
 sunwayfan
Topic starter
February 20, 2018 3:18 pm
(@sunwayfan)
Member
Joined: 8 years ago

Yes, These 3 columns only


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
February 20, 2018 3:43 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Power BI is better at doing on-the-fly side-by-side Period and YTD calculations, but I think you can still do this in a regular Acumatica Dashboard.

 So I modified the Thread Title and removed "Power BI" from the title since I'm learning that most people find Power BI overwhelming.

There are a few ways you could visualize it (Pivot Table, Bar Chart, Grouped Generic Inquiry), but the important thing is the create the Generic Inquiry for the underlying data. To do that, I would have two separate columns and use an IIF formula to determine whether to display the amount in that column (one column would only have values for the current month, the other would only have values for the current year). Then, when you sum those columns, you should get the desired results.


Reply
Posts: 58
 sunwayfan
Topic starter
February 20, 2018 4:43 pm
(@sunwayfan)
Member
Joined: 8 years ago

Can you please show an example of the GI which would have such two columns using IIF formula?


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
February 21, 2018 6:10 pm
(@timrodman)
Famed Member
Joined: 10 years ago

I put together an 8 minute video. Hopefully this gets you what you need.

Here are the formulas used in the video.

For Month To Date:

=IIf(Year([ARInvoice.DocDate])=Year([AsOfDate]) And Month([ARInvoice.DocDate])=Month([AsOfDate]) And Day([ARInvoice.DocDate])<=Day([AsOfDate]),[ARTran.CuryExtPrice],0)

For Year To Date:

=IIf(Year([ARInvoice.DocDate])=Year([AsOfDate]) And ((Month([ARInvoice.DocDate])&ltMonth([AsOfDate])) Or (Month([ARInvoice.DocDate])=Month([AsOfDate]) And Day([ARInvoice.DocDate])&lt=Day([AsOfDate]))),[ARTran.CuryExtPrice],0)

  

Note: Just replace all occurrences of [AsOfDate] with Today() in the formulas if you want to use today's date rather than a parameter.


Reply
 sunwayfan
(@sunwayfan)
Joined: 8 years ago

Member
Posts: 58
February 21, 2018 8:58 pm
Reply toTim RodmanTim Rodman

This is exactly what I was looking for. Thank you!


Reply
Posts: 58
 sunwayfan
Topic starter
February 22, 2018 9:48 am
(@sunwayfan)
Member
Joined: 8 years ago

How can I get sum of all the days in a month? I don't want to display it datewise, I want total sum of sales this month and year


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
February 22, 2018 10:44 pm
(@timrodman)
Famed Member
Joined: 10 years ago

If you just want to filter on Month and not on Date, it actually makes the formulas simpler.

For Month To Date:

=IIf(Year([ARInvoice.DocDate])=Year([AsOfDate]) And Month([ARInvoice.DocDate])=Month([AsOfDate]),[ARTran.CuryExtPrice],0)

For Year To Date:

=IIf(Year([ARInvoice.DocDate])=Year([AsOfDate]) And Month([ARInvoice.DocDate])&lt=Month([AsOfDate]),[ARTran.CuryExtPrice],0)

Reply
Posts: 58
 sunwayfan
Topic starter
February 27, 2018 12:19 pm
(@sunwayfan)
Member
Joined: 8 years ago

If I want to filter Sales this month last year, is this formula right?

 

=IIf(Year([ARInvoice.DocDate])-1=Year([Today]-1) And Month([ARInvoice.DocDate])=Month([Today]),[ARTran.CuryExtPrice],0)


Reply
Posts: 58
 sunwayfan
Topic starter
February 27, 2018 12:55 pm
(@sunwayfan)
Member
Joined: 8 years ago

Also I think the formula for Month to Date sales isn't working correctly, it shows the sales for that particulate date of the docdate rather than making sum of sales in whole month till today


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
February 27, 2018 11:51 pm
(@timrodman)
Famed Member
Joined: 10 years ago

I would use this if you want this month last year

=IIf(Year([ARInvoice.DocDate])=(Year([Today])-1) And Month([ARInvoice.DocDate])=Month([Today]),[ARTran.CuryExtPrice],0)

That formula worked for me. By using the Month function, I'm not sure how it would be only looking at the date of the docdate and not the month of the docdate.


Reply
Posts: 58
 sunwayfan
Topic starter
March 1, 2018 9:45 am
(@sunwayfan)
Member
Joined: 8 years ago

Like for example the Salesperson YS in the screenshot attached the sales for Feb 2018 in the GI we build is 5500 but it shows 35707.77 in Sales Profitability report.

Is it because I have used Groupby Salesperson in the GI Grouping tab?


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
March 2, 2018 12:12 am
(@timrodman)
Famed Member
Joined: 10 years ago

Can you export the GI to XML and attach the XML file to this thread?


Reply
Posts: 58
 sunwayfan
Topic starter
March 7, 2018 11:21 am
(@sunwayfan)
Member
Joined: 8 years ago

 

Right-click to Download

This is the GI


Reply
Posts: 58
 sunwayfan
Topic starter
March 8, 2018 3:05 pm
(@sunwayfan)
Member
Joined: 8 years ago

It worked after using the Aggregation function


Reply
Page 1 / 2 Next
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 11 Online
  • 2,324 Members
Our newest member: Michael Kiley
Latest Post: Pick List report suddenly not splitting on Shipment
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×