Viz in Tool Tips – Dummy Filters

The Problem

Recently, a case came up where we wanted to show the visualization in a slightly different way within a viz in tool tip. The problem was that the dimension would filter down to the single item, even with filter=” removed. This is functioning as designed, but we wanted to see a bar chart of all sub-categories by sales, and one by Profit.

The base visualization was a scatter plot of Sales and Profit by Sub-category.

The Solution – The Dummy Filter

By created a blank calculation, we can include it in the tool tip, then set is as the field to filter by. With it being blank, and not existing on the tool tip vizzes, it works like a champ!

To do this, first we create out Dummy Calculation:

The place that in the Tooltip on the Marks card, and insert in in the Viz in Tooltip code, replacing the “All Fields” in the Filter=”

And that’s it! A simple solution to allow for an alternate view of the same dimensional values.