简体   繁体   中英

Tableau Calculated Field Filtering

I am struggling with Custom Filter using Calculated Field. Below is the screenshot of the same visualized chart.

屏幕截图

What I am struggling is to create a filter where I can give a scale of Correlation, example - I want to show all the age groups and Ethnicity where the Correlation value is between 0.6 and 0.9

I am able to bring in one Measure Value and as you can see, the filter slider is there. But I need that filter to work on all the fields and not just one value. Like a Universal Slider for all the values.

Please help.

You cannot set one filter to be used on several measures. However what you can do is create two parameters and use them to filter each measure in relation.

  1. create 2 parameters minCorrelation and maxCorrelation with values between 0 and 1 and stepsize of 0.1 (or whatever granularity you need)
  2. open one of your filters and go to formula, use a custom formula like [0-17] > [minCorrelation] AND [0-17] < [maxCorrelation]
  3. repeat that for every measure and the filter will adjust when you change the values for your parameters.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM