One of the main ways Quickbase helps you perfect your unique business processes is by automating routine work. This saves time, improves your employees' morale, and reduces risk for your business.
Many companies use automations to supply the data for trend reports today. Did you know you can also power trend reports using pipelines? Pipelines is a powerful technology that makes it easier than ever for you to automate your workflow, even across your ecosystem of software tools. Read on to learn how to set up trend reports using pipelines.
Example use case: manage a portfolio of IT projects
Reporting on trends in your business isn't limited to specific industries or use cases. However, for the sake of simplicity we'll focus on a specific example to walk through the process.
Imagine that your company's IT team uses Quickbase to manage their projects. These projects are wide-ranging, from purchasing and integrating new software platforms, deciding how to upgrade employee laptops, or modernizing their technology ecosystem to protect sensitive customer data.
Imagine that your company's executive team has identified some key processes that are currently managed in spreadsheets, and this year one of our major priorities is moving those processes into the cloud. Keeping track of the progress of those projects is critical to the company's success and growth in the coming year.
How pipelines can help
Many Quickbase customers build trend reports to monitor projects and to identify ways they can improve their processes every day. Charts like the one below help you stay ahead of the curve, and you can populate this type of visualization using Pipelines.

Create a user token
To connect a pipeline with one of your Quickbase apps, you will need a user token. So, before you create your pipeline, it's best to create the user token. Here's how to create one:
Select your name in the top-right corner of the page.
Select Profile.
Select the Manage my user tokens for this realm link.

Select + New User Token.
Enter a name for the user token. In this case, for clarity we'll call the token User Token for pipeline – weekly project snapshot.
Under Assign Token to Apps, select the app your pipeline will be working with. If your pipeline connects multiple Quickbase apps, you would select all those apps here.
Select Save, close the User Tokens tab, and return to your app.
Create a snapshots table

To create a trend report like the one above, you'll need to snapshot data on a regular basis. You could snapshot hourly, daily, weekly, or monthly. For this example, we'll snapshot the data weekly. You'll create the chart in a separate table which stores those snapshots, so you'll need to create such a table if you don't have one already. Think about the vital stats you need for your trend reports and create fields for those. For this example, we'll snapshot Project Name and Status. The snapshots table doesn't need to relate to other tables in your app.
Track projects by week
Before creating your pipeline, you'll need to add a formula to your Projects table. This will stamp each snapshot with the week start date. Here's how to set up the formula:
Open your Projects table and select the gear to access the table settings.
Next to Fields, select + New.
Name the field Week Start Date.
Set the field type to Formula – Date.
Select Add.
Select the name of the new field to access its properties.
In the formula box, enter this formula:
FirstDayOfWeek(Today())Select Save.
Create a new pipeline
Since pipelines can work across Quickbase apps, you access pipelines from the global navigation menu.

Here's how to get started building your pipeline:
On the My Pipelines page, select Create a pipeline.
At the top of the page, name the pipeline. For this example, we'll call it IT Project Manager: Weekly Project Snapshot. All pipelines you create will be in a single list, across all applications you manage. So we recommend you include the name of the Quickbase app in the pipeline name to keep things organized.
On the right, select the Quickbase channel.
Select Connect.
Enter your realm name. If you're not sure what your realm name is, look at the address bar and enter whatever appears before ".pipelines.quickbase.com".
Return to your other Quickbase tab and copy the user token we created earlier. (To get there, return to your app > select your name at the top of the page > select My Preferences > scroll down and select the link next to Manage user tokens.)
Select Connect to Quickbase.
Next we need to generate the snapshots.
Generate the snapshots
This company has five statuses for its projects: Not Started, Planning, Implementation, Review, and Completed. We want to snapshot all projects that are in progress, which would be any project where the status is Planning, Implementation, or Review. To set up the snapshot creation:
Select and drag the Search Records step from the list on the right, into the dotted area on the left.
Select the Table box and select Projects.
Select Add Conditions.
Select the Status.
In the box below, select Planning.
Select Or, select the Status field again, and select Implementation.
Select Or, select the Status field once more, and select Review.
Select and drag the Create Record step from the right, into the dotted area below the Do box.
Select the Account box and select the same user token we used in the trigger step. In this example, that would be User Token for pipeline – weekly project snapshot.
Select the Table box and select Project Snapshots.
Select the Status option in the middle of the page, then drag it into the Status box on the left.
Select the Project Name option in the middle of the page, then drag it into the Project Name box on the left.
Select the Week Start Date option in the middle of the page, then drag it into the Week Start Date box on the left.
Next we'll schedule the pipeline to run weekly.
TIP: To easily navigate around the pipeline builder, use the toggle in the top-right of a step to expand or collapse it.
Set up the pipeline schedule
Next we'll schedule when the pipeline should run. For this example, we'll schedule the pipeline to run weekly.
Select Schedule pipeline in the top-right corner.
You can schedule your pipelines to run hourly, daily, weekly, or monthly. Let's schedule it to run weekly, early in the morning on Mondays. That means there will be a fresh update waiting for your colleagues as they start their week.
Select Schedule pipeline.
Test the pipeline
After you've created or updated a pipeline, you should test it out. You can test a scheduled pipeline by selecting Run pipeline in the top-right corner. After you do, check your app to make sure the pipeline worked as you expected.
Build your trend report
Once you have your pipeline working, you can create a chart on the Project Snapshots table to see the progress of your projects over time. For example, this is a stacked bar chart showing the week-to-week state of open projects: