Invoice Date only 2014 or 2015

Hi Guys,

How can I filter the results on my reports to show only 2014 full year or 2015 invoice dates?

Product.ProductDescription, CustomerAccount.Description, SalesInvoice.InvoiceDate, 
                         Company.CompanyName

Thanks,


  • Edited by Mo Yusuf 15 hours 3 minutes ago
March 27th, 2015 12:42pm

select * from [YourTableName] Where DatePart(yyyy,Invoicedate) IN(2014,2015)
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2015 12:53pm

Hi ,

you can also  filer as below

Where  Year(SalesInvoice.InvoiceDate) in (2014,2015)

Many Thanks

Chandra

---------------------------------------------------------------------------------------------

Please mark the post as Answered If this solves your  query

March 27th, 2015 1:20pm

Where should I apply these filters ? In the report builder or query?
Free Windows Admin Tool Kit Click here and download it now
March 28th, 2015 3:38am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics