简体   繁体   English

在 Google 数据工作室中,我添加了输入框控件,我想将它用作 Word 过滤器

[英]In Google data studio I have added input box control and I want to use it as a Word Filter

I have a data that looks like this which has more than 500k Choices:我有一个看起来像这样的数据,其中有超过 500k 个选择:

Country国家 Choice选择
Brazil巴西 Rock岩石
Brazil巴西 Rock岩石
Brazil巴西 Paper
Peru秘鲁 Scissors剪刀
Peru秘鲁 Scissors剪刀
Peru秘鲁 Rock岩石
Cuba古巴 Paper

What I want is to control the data based on Input value.我想要的是根据输入值控制数据。 Let's say I add the input "rock", I want the table to remove all the rows having rock in choice column.假设我添加了输入“rock”,我希望表格删除选择列中包含 rock 的所有行。

something along these lines should work out.按照这些思路应该可以解决问题。

  1. create a parameter ( SCREENSHOT )创建一个参数(屏幕截图
  2. Add a input box with the above created parameter as 'control field'.使用上面创建的参数添加一个输入框作为“控制字段”。
  3. Add a new field with the following calculated formula ( SCREENSHOT )使用以下计算公式添加一个新字段(屏幕截图

CASE WHEN Choice=Parameter_Choice THEN '' ELSE Choice END

  1. Add a filter to the table to filter out the '' from the calculated field in step 3 ( SCREENSHOT )向表中添加过滤器以从步骤 3 中的计算字段中过滤掉“”(屏幕截图

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 谷歌数据洞察过滤器控制大小写敏感 - Google Data Studio Filter Control Case Sensitive 我有一个 boto3 lambda function,它使用 table.scan 来扫描 dynamoDB。 我想将有限的数据发送到前端以显示 10 个条目,不能使用查询 - I have a boto3 lambda function which uses table.scan to scan the dynamoDB. I want to send limited data to frontend to show 10 entries, cant use query 我想检查是否有新文件添加到 firebase 存储中 - I want to check whether a new file is added to firebase storage or not 如果我想编写可测试的代码,是否必须使用依赖注入? - Do I have to use Dependency Injection, if I want to write testable code? 如何在 Google Data Studio 中将 Year 字段检测为 Year? - How can I make Year field detected as Year in Google Data Studio? 如何在同一 Google Data Studio 图表上添加多个时间维度? - How can I add Multiple Time dimensions on the same Google Data Studio chart? 我应该用什么来控制用户的导航 - what should I use to control the navigation of a user 为什么我在谷歌数据工作室填写公式时会出错? - why do i get an error when i fill in the formula in google data studio? 如何在 Data Studio 中为多个最终用户启用“按电子邮件过滤”? - How can I enable "Filter by Email" for multiple end users in Data Studio? Google Data Studio / Looker Studio:基于过滤器比较上个月的记分卡 - Google Data Studio / Looker Studio : scorecard comparing vs prior month based on a filter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM