NathanMaubert
8 years agoQrew Trainee
Join and summarize data found in several tables
I am looking to build a report that summarizes data found in multiple tables essentially the database is structured as follows:
Projects have many Cost Codes
Cost Codes have many Time Tickets
Cost Codes have many Expenses
Cost Codes have many Materials
Each Time Ticket, Expense, Material has a cost associated with it.
Each Time Ticket, Expense, Material has a date associated with it.
What I need to do is build a report that summarizes the total cost associated with the time, materials and expenses grouping based on the month (date) each of the categories. I would like to display this both as a table as well as a bar chart.
Anyone have a solution?
Projects have many Cost Codes
Cost Codes have many Time Tickets
Cost Codes have many Expenses
Cost Codes have many Materials
Each Time Ticket, Expense, Material has a cost associated with it.
Each Time Ticket, Expense, Material has a date associated with it.
What I need to do is build a report that summarizes the total cost associated with the time, materials and expenses grouping based on the month (date) each of the categories. I would like to display this both as a table as well as a bar chart.
Anyone have a solution?