The Tableau Performance Checklist: Filtering – Avoid ‘Only Relevant Values’ in Quick Filters

Data

The Tableau Performance Checklist: Filtering – Avoid ‘Only Relevant Values’ in Quick Filters

The Tableau Performance Checklist series is designed to help you streamline your dashboard performance and Tableau Server configuration. Each post expands upon one item listed in the master Tableau Performance Checklist.

Speed counts, people! Today’s report consumers expect their dashboards to run as fast as a web page.  Now that high speed internet is the standard in business, that’s a lot to compete with. This is why it is essential to optimize each and every dashboard for the absolute best performance. 

The next item in our Filtering section is:

“Avoid selecting ‘Only relevant values’ for your quick filters. This requires sequential queries. Do not use this when not needed.”

Let’s dig into what this means and why it can have a negative impact on your dashboard’s performance.

The Optional Setting

As Julie Andrews says in “The Sound of Music:”

“Let’s start at the very beginning, it’s a very good place to start.”

You’re welcome for the ear worm. What in the world does the Only relevant values option even mean? The default option for a quick filter is All values in database, which is pretty much exactly like it sounds: the quick filter will make all values in the database for that particular field available for user selection. 

Contrast that with Only relevant values. This option first compares the values it returns from the database with those in other quick filters. Then, it only shows the values that apply given the choice made on other filters.  It can be found on the menu for the filter right here:

Menu filter

A good example for this would be a dashboard that displays information on the United States. Let’s say there’s a regional filter and a state level filter. By selecting Only relevant values for the State filter, it would first look at the Region the user selects. If the regional filter is set to the Western region, then the state-level filter will only show states from the Western region. The user is therefore prevented from making an invalid combination of filter selections. SCORE! You slay me, Tableau.

Just to drive the point home, if Only relevant values is not selected for the State filter, then it would produce a blank view if the Western region is selected. Any state outside of the Western region is the selected.  

Performance Limitations

I hate to be the bearer of some potentially bad news, but I have to wave the caution flag here. The problem with this setting arises when there are more than two quick filters. Tableau is forced to run not just one query to pull all values for each quick filter, but it has to run a second sub-query in order to populate the view on each selection based on relevancy with other filters on the dashboard. As a result of these sub-queries, the performance of your dashboard can suffer (bringing out my inner drama queen here) dramatically.

This limitation goes hand-in-hand with a previous Tableau Performance Checklist item, “Limit the Number of Quick Filters.” In general, the more quick filters you add to your dashboard, whether they include relevant values only or not, the more opportunities there are to ruin your report’s performance.

You can use our Best Practice Analyzer tool (part of the Workbook Tools suite) to flag workbooks with this potential problem.

A Better Solution

So, how do we get around quick filter performance issues with relevancy?  The same way we did with normal quick filters: Use a dashboard action filter whenever you can! An action filter does not require a separate query or sub-query to produce the results.

Not only will this improve the performance of your dashboard, it will create a cleaner and more intuitive interface for your report consumer. You can accomplish this by selecting any view in your dashboard and selecting Use as Filter.

Use as Filter 

This means that whenever a report consumer clicks on a data mark, it will automatically filter the entire dashboard on that value. Boo yah!!

Mastering Best Practices

If you’re interested in becoming a Tableau Server guru, then learning these performance best practices is essential. Check back frequently as we add new posts and dive deeper into each point in the Tableau Performance Checklist.

Another great way to identify best practices is to leverage the insights offered by our Performance Analyzer, part of Workbook Tools for Tableau. It will examine all of your workbooks, worksheets, dashboards and data sources against a list of best practices to ensure that you’re using all the tips and tricks to guarantee your visualizations are moving at light speed.

As always, feel free to get in touch with us if you have any questions regarding performance or anything Tableau related! We’d be happy to help.

Contact Us!

Want More The Tableau Performance Checklist

  1. The Tableau Performance Checklist
  2. The Tableau Performance Checklist: Data – Keep Analysis Simple
  3. The Tableau Performance Checklist: Data – Bring in Only Needed Data
  4. The Tableau Performance Checklist: Data – Use ‘Describe’ to Explore
  5. The Tableau Performance Checklist: Data – Remove Unused Columns from Extracts
  6. The Tableau Performance Checklist: Data – Use One TDS File
  7. The Tableau Performance Checklist: Data – Use Extracts
  8. The Tableau Performance Checklist: Filtering – Minimize Quick Filters
  9. The Tableau Performance Checklist: Filtering – Avoid ‘Only Relevant Values’ in Quick Filters
  10. The Tableau Performance Checklist: Filtering – Avoid High-Cardinality Quick Filters
  11. The Tableau Performance Checklist: Filtering – Avoid Quick Filters That Drive Context Filters
  12. The Tableau Performance Checklist: Filtering – Keep Range Quick Filters Simple
  13. The Tableau Performance Checklist: Filtering – Use Dashboard Filter Actions
  14. The Tableau Performance Checklist: Filtering – Don’t Be Lazy with User Filters
  15. The Tableau Performance Checklist: Custom SQL – Limit in Live Connections
  16. The Tableau Performance Checklist: Custom SQL – Avoid Parameters
  17. The Tableau Performance Checklist: Custom SQL – Watch for Useless Clauses
  18. The Tableau Performance Checklist: Calculations – Use Calculated Fields Carefully
  19. The Tableau Performance Checklist: Calculations – Limit Blended Calculations
  20. The Tableau Performance Checklist: Calculations – Avoid Row-Level Calculations Involving Parameters
  21. The Tableau Performance Checklist: Rendering – Avoid High Mark Counts
  22. The Tableau Performance Checklist: Rendering – Limit Text Tables With Lots of Marks
  23. The Tableau Performance Checklist: Rendering – Minimize Image & Shape File Sizes
  24. The Tableau Performance Checklist: Rendering – Use Transparent Background PNGs
  25. The Tableau Performance Checklist: Local Computations – Server Performance
  26. The Tableau Performance Checklist: Local Computations – Table Calculations
  27. The Tableau Performance Checklist: Dashboard Layout – Limit Number of Worksheets
  28. The Tableau Performance Checklist: Dashboard Layout – Fix Dashboard Size

More About the Author

Robert Curtis

Managing Director, APAC
Building Solutions with InterWorks at Corinium’s Data Architecture Conference in Melbourne InterWorks was a proud sponsor of the Data Architecture Conference hosted by Corinium in Melbourne on 21 and 22 June 2023. Hundreds of ...
Virtual Event Recap: Deep Dive of Tableau Parameters For our June Lunch and Learn, we did a deep dive on parameters for our friends across Australia and Singapore. Tableau is the premier ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!