Sales Wave provides a set of dashboards that serve most business’ needs, but there will always be businesses that want additional requirements or customization,

Out of the Box vs. Customized

Two common requests are additional custom filters, and changes to date ranges. Most people are probably thinking, “This shouldn’t be a problem, I’ve been using Wave for a while and have built plenty of dashboards using SAQL”.

Editing JSON Workflow

In case you don’t already know the drill:

  1. Open the dashboard you want to modify
  2. Save as a new copy
  3. Find the step you want to edit
  4. Go to the JSON editor
  5. Make your changes
  6. Save & Done

As you can see, modifying the Sales Wave dashboard is pretty straightforward, simply by referencing the Dashboard JSON and SAQL help pages. That is, until you come across the Pipeline Trending dashboard! Specifically, the step that drives the  waterfall chart.

It’s a pretty overwhelming query and to understand it all would take some time (but stay tuned for a future blog post). To help shortcut the process, Justin Kim from our ASG team has kindly outlined the areas that you need to modify for custom filters and date ranges.


To add or modify the filters, you would have to do the same as usual by clipping a new lens or create a new static step and add the widget to the layout. To add/edit bindings in the query, find the section after the load statement.

Original query:

Query with additional filters:

In the above example, a filter has been added for the Account Market.  Note that this field is not included in the datasets by default, so the ELT Dataflow must be modified to include this new field. For help on configuring the ELT Dataflow, you can refer to the Analytics Cloud Help page.

Date Ranges

Since the date filters are already in the query, the modifications are not actually made in the waterfall query. You can simply find the corresponding step to the date filter widget:

Static Date Range Template:

Static Date Range Example:

With that, hopefully you were are able to fast track and customize the Pipeline Trending dashboard with some of the common asks. For more details and additional customizations like Dynamic Date Ranges and Bucket Labels, you can refer to the SAQL Best Practices Guide.

For more Analytics Cloud developer resources please go to

About the Authors

Terrence Tse (also known as Terry) is a Solution Architect dedicated to providing solutions in accelerating & optimizing the selling and implementation of Wave.

Justin Kim is a data scientist where he works with customers to make them successful on Wave and provides advanced SAQL solutions.

Terry & Justin are members of the Analytics Cloud’s ASG team.

About the Advanced Solutions Group

A specialized analytics team in the Analytics Cloud product organization that provides world-class technical leadership and guidance focused on empowering the Wave ecosystem. ASG helps drive rapid value by leveraging deep technical knowledge of the Wave platform and apps.

Get the latest Salesforce Developer blog posts and podcast episodes via Slack or RSS.

Add to Slack Subscribe to RSS