Create a Quickbase report
Remember the reports that management asked for in the morning meeting? They want to know which customers spend the most and which products produce the most revenue. We need to create a report to answer each question. Then, we can place them together on the app home page — the dashboard — so management can access them at any time.
Reports are visual displays of data. Quickbase can create pie charts, bar charts, line graphs, summary reports, and even calendars and maps. You’ve already seen the most common report Quickbase automatically creates: the table report. Each time you select a table icon in table navigation, Quickbase opens the table home page, which displays the default report.
Create a table report to summarize orders
Let's create a report to collect all the information from our table and display a summary of all the orders. Although management hasn't yet asked for this report, you know it'll help everyone understand what's going on and answer questions they've asked in the past. As you think about what everyone talks about in the morning meeting, you write down the fields that the team usually has questions about.
Field | Source Table | Type |
---|---|---|
Order # | Orders | text |
Order Date | Orders | date |
Customer Name | Customers | text |
Items Ordered | Line Items | link |
Order Total | Formula | currency |
As you're thinking about the list of items in an order, you decide that a link to the line items
for each order works best. Since you also decide that you want to include the total for the entire order in the summary, which requires a formula, you write down formula as the source.
Add a total column
Select the Orders table icon in the table nav bar to open the Orders Home
page. You compare the fields in the default table report to the fields you wrote down for your report. They're close but not the same. Specifically, you notice that there's no order total for each order record. So let's add one.
There are several ways to create a total field in Quickbase. You could define a formula like the one we used to calculate cost in the Line Items table, but there's an easier way. Because we created a table-to-table relationship between the Orders and Line Items tables, the relationship itself includes a summary field feature by default. Let's use that.
Start by opening the relationship.
- Click the Orders table in navigation
- Click the gear icon to open table settings
- Click Table-to-table relationships in the Table Structure group
- Click the Orders -> Line Items relationship
Now add a summary field.
- Click Add Summary Field to open the summary field configuration.
- Select A summary of a specific field
- Select Total for the field
- Select Line Total from the field list
- Click the blue Create button
Name the field.
- Name the field Total
- Click the blue OK button
Verify the relationship between the Orders table and the Line Items table.
- Click the blue Done button to add the field to the table configuration
- Click Fields in the Table Structure group
- Verify the Total field was added to the table
- Click Exit Settings
Create a custom table report
You're getting the hang of this! Now create a new report.
- Open the Orders Home page by clicking the Orders table in the table nav bar
- Expand the Reports & Charts panel by clicking Reports & Charts
- Create a new report by clicking New
Now configure the table report to display the summary field.
- Select Table in the New report pop-up
- Click Create
- Name: Orders Summary
- Description: Summary of customer orders
- Select Custom columns
- Select Report Columns
- Select Sort or group on other fields in the Sorting & Grouping group
- Select sort from hight to low by to have the most recent orders on top
- Select Order Date from the list of fields
- Click the blue Save button
Congratulations! You configured your first custom report in Quickbase!
Now, verify that the Orders Summary report is correct.
Create a bar chart to view customer by spend
Management wants to know which customers spend the most. We have fairly small customers, but they buy a lot. Let's use a bar chart to visualize the total that each customer has spent with us. This way, as customer orders are placed, management can see who's buying most and have a feel for how other customers compare.
- Click New
- Select Chart on the New report pop-up
- Click Create
- Name: Customers by Spend
- Description: Quarterly spend by each customer
- Select bar as the chart type in the Chart Details group
- Select Customer Name and Equal Values for the x-axis
- Select Line Total and (summed) for the y-axis
- Select Order Date and Group by: Quarter for the Series
- Click the blue Save button
It's celebration time! Congrats on creating your first data visualization!
Verify that the bar chart correctly displays how much each customer has spent this quarter.
Create a summary report to display products by revenue
On to the next chart for management. This time we're looking to summarize the overall revenue generated by each product. Quickbase has a built-in report type for this called a "Summary Report." Let's give that a try and see if it works for management.
- Click New
- Click Create
- Select Summary from the New Report pop-up
- Name: Products by Revenue
- Description: Products sorted by revenue
- Set Summarize Data to: Summarize: Line Total, Summarize By: Totals, and Display As: Normal Value
- Set grouping to: Group By: Product Name and Combine: Equal Values
- Set sorting to; Sort by: Line Total (tot) and from hight to low
- Click the blue Save button
Yes, management is going to be pleased. That's exactly what they asked for. But, before we put it in the dashboard, it's a good practice to verify that the summary chart correctly displays how much revenue each product has brought in.
It does! Our next task is to make a management dashboard that anyone can view at any time.