Hey guys,
I need to make two complex reports with complex queries that are beyond my abilities and skills so I am coming here for your help (I am attaching two images that shows what the report I am looking for). The first report displays the GL of the customers and date value 1, date value 2, date value 3, date value 4 and so on are GLs based on that year/month/date selected and the total amount of price for that GL of that year/month/date. Look at picture 1 for more details.
Picture 1
Picture 2
The second report display Sales Rep, Company Name, Date year vs Date year. This report is comparing company name of that year with another company name of a second year. I was doing two queries and this how it was coming out:
Query 1 (Year 2016):
- Company A =======> Sum_Total($3000)
- Company B =======> Sum_Total($123.34)
- Company C =======> Sum_Total(456.89)
- Company D =======> Sum_Total($1500.34)
- Company E =======> Sum_Total($223.34)
- Company F =======> Sum_Total($13.45)
Query 2 (Year 2017:
- Company A =======> Sum_Total($30)
- Company B =======> Sum_Total($5000)
- Company C =======> Sum_Total($1000)
- Company D =======> Sum_Total($0)
- Company E =======> Sum_Total($450.90)
- Company F =======> Sum_Total($79.99)
- Company G =======> Sum_Total($40)
- Company H =======> Sum_Total($9000)
- Company I =======> Sum_Total($4.99)
The Report will Display it like this
Company Name 2016 2017 Company A Sum($3000) Sum($30) Company B Sum($123.34) Sum($5000) Company C Sum(456.89) Sum($1000) Company D Sum($1500.34) Sum($0) Company E Sum($223.34) Sum($450.90) Company F Sum($13.45) Sum($79.99) Company G Sum($9000) Company H Sum($400) Company I Sum($199.99)
I have the query for report 2 working but the problem gluing them together is an issue. When I glue them together it doesn't display all the report, some doesn't show but if I run the query alone it displays all the record. How do I resolve this issue?
Thanks in advance.