Search Result

Collapse
2 results in 0.0041 seconds.
Keywords
Members
Tags
aggregates
  •  

  • Jovan Johnson
    started a topic Summing Values of a Subquery

    Summing Values of a Subquery

    I am working on building a series of queries and reports based on a database so my associates can simply click on the reports and get important figures. I've run into a problem when it comes to aggregates based on a query with a subquery in it.

    I'm used to using PHP and MYSQL to run queries and manage databases, so I'm new to Access syntax and limitations. I'm building these reports in Access 2010.

    An example of the...
    See more | Go to post

  • xraive
    started a topic Subquery to calculate the YTD amount

    Subquery to calculate the YTD amount

    Hi I am trying to calculate the YTD amount and I keep getting the following error "You tried to execute a query that does note include the specified expression 'Fiscal Year' as part of an aggregate function". Can you offer any assistance?

    Code:
    SELECT GetFiscalYear([InvoiceDate]) AS [Fiscal Year], fFiscalPeriod([InvoiceDate]) AS Period, DatePart("q",[invoicedate]) AS Quarter, DatePart("m",[invoicedate]) AS [Month],
    ...
    See more | Go to post
Working...