How To Swap Multiple Measures Using Parameter
24 Feb 2021
Last Modified Date:
24 Feb 2021
How to use a parameter to swap between multiple measures and one measure.
Create a Parameter to swap between one measure and multiple measures. e.g. Swap between [Sales] and [Discount Rate] + [Profit Ratio]
Create Calculation fields to swap the measures, such as:
CASE [! Swap]
WHEN "Discount Rate and Profit Ratio" THEN [Profit Ratio]
Add [Measure Values] to [Rows] and add [Measure Names] to [Color].
Show parameter and swap values.
Did this article resolve the issue?
Thank you for providing your feedback on the effectiveness of the article.
Click here to return to our Support page.
Open new Case
Open a new case
Click here to go to our Support page.
Get detailed answers and how-to step-by-step instructions for your issues and technical questions.
Find and share solutions with our active community through forums, user groups and ideas.
Browse a complete list of product manuals and guides. Available online, offline and PDF formats.
Training and Tutorials
Learn how to master Tableau’s products with our on-demand, live or class room training.
PRINT THIS PAGE
SUPPORT BY PRODUCT
TOOLS & DOWNLOADS
Download Tableau Desktop & Server
Tableau Online & Public Status
Send Large Files
All Tech Specs
Elite Account Management