简体   繁体   English

Google Data Studio:缺少过滤器 inheritance 选项

[英]Google Data Studio: Filter inheritance options missing

I've asked this question on the Data Studio community page with no response, and haven't been able to find the answer elsewhere.我在 Data Studio 社区页面上问过这个问题,但没有得到回应,而且在其他地方也找不到答案。

I need to stop 2 charts on a page from inheriting the page level control that I have set.我需要阻止页面上的 2 个图表继承我设置的页面级别控件。 From searching around, it appears that there used to be an option to disable filter inheritance, which would achieve exactly what I need.通过搜索,似乎曾经有一个选项可以禁用过滤器 inheritance,这将完全满足我的需要。 However, that option seems to no longer be available.但是,该选项似乎不再可用。

I've tried manually setting chart level filters that include all of the information I need, but they still seem to be overridden by the page level controls I have set.我已经尝试手动设置包含我需要的所有信息的图表级别过滤器,但它们似乎仍然被我设置的页面级别控件覆盖。 I've tried creating calculated fields that hard code the information I need, but they are also overridden by the page level controls regardless.我已经尝试创建计算字段来硬编码我需要的信息,但无论如何它们也会被页面级控件覆盖。

The comparison that I need to make is between an individual store's customer churn, and the average churn for all stores.我需要比较的是单个商店的客户流失率和所有商店的平均流失率。 The report is an overall report for all stores, with the ability to choose an individual store from a dropdown control to narrow down the results, so I can't set it up with chart-level filters as that would defeat the whole purpose.该报告是所有商店的综合报告,能够从下拉控件中选择单个商店以缩小结果范围,因此我无法使用图表级过滤器进行设置,因为那样会破坏整个目的。

Does the filter inheritance option no longer exist, or does it not apply to controls?过滤器 inheritance 选项是否不再存在,或者它不适用于控件? Is there another way around this that I'm missing?我还缺少其他解决方法吗?

Thanks in advance: :)提前致谢: :)

Screenshot of the filter inheritance options missing:缺少过滤器 inheritance 选项的屏幕截图:

No filter inheritance无过滤器 inheritance

Example Data Studio report: Data Studio 报告示例:

Example report 示例报告

UPDATE: I have figured out a temporary workaround, which is to set up a separate data source that does not include the fields referred to within the controls.更新:我想出了一个临时解决方法,即设置一个单独的数据源,不包括控件中引用的字段。 However, this is not a workable solution for reports with a number of pages and a number of controls added, as it effectively requires a new data source for every control that I need to exclude (and sometimes that isn't possible).但是,对于添加了多个页面和多个控件的报表,这不是一个可行的解决方案,因为它实际上需要为我需要排除的每个控件提供一个新的数据源(有时这是不可能的)。

Group团体

One way to ensure that the two specific charts (referred to as Excluded_Charts in this answer) are not influenced by Controls (in this case a Drop-down list and a Date range control ) is to Group all charts except Excluded_Charts , which would result in the two charts operating independently from the rest:确保两个特定图表(在此答案中称为Excluded_Charts )不受控件(在本例中为Drop-down listDate range control )影响的一种方法是对除Excluded_Charts之外的所有图表进行分组,这将导致这两个图表独立于 rest 运行:

  • Right-click on a blank space in the Report右键单击报告中的空白区域
  • From the drop-down click on Select > All charts and controls on page从下拉菜单中单击Select > All charts and controls on page
  • Ctrl + Click on both charts in Excluded_Charts to exclude them from selection Ctrl +单击Excluded_Charts中的两个图表以将它们从选择中排除
  • Right-click on one of the selected charts右键单击其中一个选定的图表
  • Click on Group from the right-click menu Additionally, to make sure that the Date range control does not affect Excluded_Charts select both charts in Excluded_Charts and change the default date range from Auto to Custom .从右键单击菜单中单击Group此外,要确保日期范围控件不影响Excluded_Charts select Excluded_Charts中的两个图表,并将默认日期范围从Auto更改为Custom

Ungroup解组

To reintegrate Excluded_Charts back with the rest of the charts in the report:要将Excluded_Charts与报告中图表的 rest 重新整合:

  • Select the grouped charts (selecting a single grouped component will highlight all grouped components) Select 分组图表(选择单个分组组件将突出显示所有分组组件)
  • Right-click on one of the selected charts右键单击其中一个选定的图表
  • Select Ungroup from the right-click menu Additionally, remember to change the default date range of the Excluded_Charts back from Custom to Auto . Ungroup从右键单击菜单取消分组 此外,请记住将Excluded_Charts的默认日期范围从Custom更改回Auto

Editable Google Data Studio Report (Embedded Google Sheets Data Source) 可编辑的 Google Data Studio 报告(嵌入式Google 表格数据源)

I seem to have found a solution - the issue is that I was looking at filter inheritance rather than controls.我似乎找到了解决方案 - 问题是我正在查看过滤器 inheritance 而不是控件。 Controls can be limited in scope by grouping them with the charts you want them to apply to. scope 可以通过将控件与您希望它们应用到的图表分组来限制控件。

Thank you very much for your help @Nimantha.非常感谢@Nimantha 的帮助。 I would have never figured this out if you hadn't pointed out that I was referring to filters rather than controls.如果您没有指出我指的是过滤器而不是控件,我将永远无法理解这一点。

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

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