Help formatting a report

I have a query (attached) that shows a part number and how many of that part # we shipped. I narrowed the query down to the last two years. I created a report (attached) and it is fine. But now I want to create a less detailed report that just shows each part #, # of shipments 2015, Total quantity shipped 2015 , # of shipments 2016,  Total quantity shipped 2016
 
 I am having trouble figuring out how to go about getting my report to look like this. Any help would be much appreciated!

Basically want it to look like this. I am using the first part # from the image of the report I attached.
Part #              # of shipments 2015   Total quantity 2015        # of shipments 2016         Total quantity  2016
AC0201010000            9                                     405                                    7                                     581
Query.PNG
query-2.PNG
report.PNG
HOTWATTAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rey Obrero (Capricorn1)Commented:
create a query against your query like this

Select
IM_Key As PartNumber,
Sum(IIF(Year([TX_Date])=2015,1,0)) As [# of Shipments 2015],
Sum(IIF(Year([TX_Date])=2015,[TX_Qty],0)) As [Total Quantity 2015],
Sum(IIF(Year([TX_Date])=2016,1,0)) As [# of Shipments 2016],
Sum(IIF(Year([TX_Date])=2016,[TX_Qty],0)) As [Total Quantity 2016]
From Query2
Group By IM_Key
Order By IM_Key, Year([TX_Date])


if that does not give you what you need
export the record source of the report to excel and upload the excel file.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hamed NasrRetired IT ProfessionalCommented:
Upload a database recreating the issue.
0
HOTWATTAuthor Commented:
Thanks for all the help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.