Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

Report for total sales per day of week with total number of transactions?

Posted on by Microsoft Employee

We are looking for a report that shows total sales per day of week per store location to include as columns that can expand for detail if needed

day of week; store;total sales;total qty sold;total number of transactions

 

we would want to be able to filter the date, store, transaction amount (ex. over $500 transaction amount)

 

*This post is locked for comments

  • Suggested answer
    archelle16 Profile Picture
    archelle16 1,735 on at
    RE: Report for total sales per day of week with total number of transactions?

    Let me know if this helps.

    //--- Report Summary --- //

    Begin ReportSummary

      ReportType = reporttypeItems

      ReportTitle = "Custom - Transaction Per Day"

      PageOrientation = pageorientationLandscape

      ShowDateTimePicker = True

      OutLineMode = False

      Groups = 1

      GroupDescription = ""

      DisplayLogo = True

      LogoFileName = "MyLogo.bmp"

      ProcedureCall =

      TablesQueried = "FROM dbo.[Transaction] t

    LEFT JOIN dbo.TransactionEntry te ON te.StoreID = t.StoreID AND te.TransactionNumber = t.TransactionNumber

    INNER JOIN dbo.Batch b ON b.BatchNumber = t.BatchNumber AND b.StoreID = b.StoreID

    LEFT JOIN Store s ON s.id = t.StoreID"

      SelCriteria = ""

      GroupBy = ""

      SortOrder = ""

    End ReportSummary

    //--- Title Rows ---//

    Begin TitleRow

      Text = "<Store Name>"

      Font = "Arial"

      FontBold = True

      FontSize = 16

      Color = "Blue"

    End TitleRow

    Begin TitleRow

      Text = "<Report Title>"

      Font = "Arial"

      FontBold = True

      FontSize = 12

      Color = "Black"

    End TitleRow

    Begin TitleRow

      Text = "As Of: <Report Date>"

      Font = "Arial"

      FontBold = True

      FontSize = 10

      Color = "Black"

    End TitleRow

    //--- Filters ---//

    //--- Columns ---//

    Begin Column

      FieldName = "Date"

      DrillDownFieldName = "Date"

      DrillDownReportName = "Date"

      Title = "Date"

      VBDataType = vbString

      Formula = "CAST(t.[time] AS DATE) AS 'Date'"

      ColHidden = False

      ColNotDisplayable = False

      FilterDisabled = False

      ColWidth = 2250

      GroupMethod = groupmethodNone

      ColFormat = ""

    End Column

    Begin Column

      FieldName = "s.StoreCode"

      DrillDownFieldName = "s.StoreCode"

      DrillDownReportName = ""

      Title = "Store Name"

      VBDataType = vbString

      Formula = ""

      ColHidden = False

      ColNotDisplayable = False

      FilterDisabled = False

      ColWidth = 1530

      GroupMethod = groupmethodNone

      ColFormat = ""

    End Column

    Begin Column

      FieldName = "TotalSales"

      DrillDownFieldName = "TotalSales"

      DrillDownReportName = ""

      Title = "TotalSales"

      VBDataType = vbInt

      Formula = "(te.Price * te.Quantity) as TotalSales"

      ColHidden = False

      ColNotDisplayable = False

      FilterDisabled = False

      ColWidth = 1530

      GroupMethod = groupmethodSum

      ColFormat = ""

    End Column

    Begin Column

      FieldName = "te.Quantity"

      DrillDownFieldName = "te.Quantity"

      DrillDownReportName = ""

      Title = "QuantitySold"

      VBDataType = vbInt

      Formula = ""

      ColHidden = False

      ColNotDisplayable = False

      FilterDisabled = False

      ColWidth = 1530

      GroupMethod = groupmethodCount

      ColFormat = ""

    End Column

    Begin Column

      FieldName = "TotalAmount"

      DrillDownFieldName = "TotalAmount"

      DrillDownReportName = ""

      Title = "TotalAmount"

      VBDataType = vbInt

      Formula = "(te.Quantity * te.Price)"

      ColHidden = False

      ColNotDisplayable = False

      FilterDisabled = False

      ColWidth = 1530

      GroupMethod = groupmethodSum

      ColFormat = ""

    End Column

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report for total sales per day of week with total number of transactions?

    This is not a report that is included in either the RMS HQ manager be default or the online report library.  

    It would have to be created.  

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans