Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : EChpc1d9/IzMriuGK4WLUE
Microsoft Dynamics RMS (Archived)

How to run a sales report for top five sales days

Like (0) ShareShare
ReportReport
Posted on 19 Jun 2011 16:29:33 by

I want to track what days are higher in sales than others.  Is there a way to run a report that shows the top five days in total sales?  Or even if I can run a report where the total sales were over a given amount.

 

I tried detailed sales, "year-to-date", and then total sales over 5000 and it doesn't give me anything

 

thanks

*This post is locked for comments

  • Suggested answer
    Goloknath Profile Picture
    on 19 Jun 2011 at 23:14:54
    Re: How to run a sales report for top five sales days

    This query might do it:

    select top 5 left(time,11),sum(total-salestax) from [transaction] group by left(time,11) order by sum(total-salestax) desc

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,485 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,594 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/forums/thread/details/?threadid=%27nvOpzp;%20AND%201=1%20OR%20(%3C%27%22%3EiKO))," - Too many )'s.
Loading started