AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • 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 OData wit...
Get Count of Custom...
 
Notifications
Clear all

Questions Get Count of Customer with Sales YoY

 
Acumatica OData with Microsoft Excel and Power BI
Last Post by Tim Rodman 7 years ago
6 Posts
4 Users
0 Reactions
2,713 Views
RSS
KBlas
Posts: 12
 KBlas
Topic starter
November 14, 2018 8:10 pm
(@kblas)
Eminent Member
Joined: 6 years ago

I have a Power BI I am trying to create and use as a dashboard in Acumatica that manages customer count increase/decrease year over year.  Does anyone know how to achieve a CountIf function or something of the sort to show me the three areas I am trying to measure:

Sales in both years

Sales in 2017 none in 2018

Sales in 2018 none in 2017

Below is an example of 4 columns I currently have:

CustomerID     2017 Totals     2018 Totals       Total Amount

123                     1,000.00          1,500.00           2,500.00

456                     500.00                                        500.00

789                                               1,000.00           1,000.00

 

Thank you in advance!!!


5 Replies
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
November 20, 2018 9:41 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Are you using a separate table for Dates? It's a good idea to. In that table, have a column for the Year.

Then drag Year into a table and add a measure like this:

CustomerCount = DISTINCTCOUNT(Sales[Customer])

That would give you number of customers with sales in each year.


Reply
Shawn P Slavin
Posts: 196
 Shawn P Slavin
November 20, 2018 10:17 pm
(@shawn-p-slavin)
Estimable Member
Joined: 6 years ago

Kristi,

Take a look at the material included in the course call Microsoft: DAT206x - Analyzing and Visualizing Data with Excel in edx.org. You can take the course for free as long as you're just looking for knowledge.  Look specifically at Module 5 - Using Advanced Formulas. This will show you how to create measures in Power Query that you can then leverage in your Power BI visualizations. They cover DAX functions like SAMEPERIODLASTYEAR, PREVIOUSQUARTER, and TOTALYTD functions that might help you tackle some of your objectives.

Edx also has a course Analyzing and Visualizing Data with Power BI. 

Hope this helps. If it is too rudimentary, maybe the reference will help someone else looking to learn PowerQuery and Power BI.

Cheers!


Reply
KBlas
Posts: 12
 KBlas
Topic starter
November 25, 2018 11:14 am
(@kblas)
Eminent Member
Joined: 6 years ago

Thank you Tim and Shawn. Adding the date table did help but my formulas seem clunky and not sustainable. It works for now but I can see issues down the road. This did help me resolve the issues I ran into with circular dependencies. I am much better off than I was though.

Shawn, thank you for the tutorial references. I'm sure it will not be too rudimentary. Even with the most entry-level, basic tutorials I have watched, I find myself picking up helpful bits of information.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
November 25, 2018 5:09 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Surely you just need a basic query of Customer Sales by date and sale amount (ie. Customer, Date, Sale Amount) then you use that with Power BI and ask it to show Sale Amount by Customer by Year and it will do the rest. Then mess around with the visualization options as needed, use a table or graph (with data labels). 

I've recently started using Power BI and it is amazing. 

 


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
November 27, 2018 10:44 pm
(@timrodman)
Famed Member
Joined: 10 years ago

In addition to the material that Shawn mentioned, I also wanted to mention the team at PowerPivotPro:

https://powerpivotpro.com/a-new-kind-of-company/

Writing measures in DAX can make your head spin and sometimes it's nice to engage with a consultant for an hour or two.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 31 Online
  • 2,412 Members
Our newest member: Peter Paasch
Latest Post: Credit Reference Report Needed
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 © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×