[英]Two Date Filters in Google Data Studio
I have a Google Sheet as the source data for a table in Google Data Studio.我有一个 Google 表格作为 Google Data Studio 中表格的源数据。 My table includes fields for "Sign Up Date" and "Cancellation Date".
我的表格包含“注册日期”和“取消日期”字段。
I want to be able to filter so that I can choose a date range for "Sign Up Date" and a different date range for "Cancellation Date".我希望能够进行过滤,以便我可以为“注册日期”选择一个日期范围,为“取消日期”选择一个不同的日期范围。 For example, show me all records where the "Sign Up Date" is between Jan 1 to Jan 31, 2021, and where "Cancellation Date" is between Aug 1 to Aug 31, 2021.
例如,显示“注册日期”在 2021 年 1 月 1 日至 1 月 31 日之间以及“取消日期”在 2021 年 8 月 1 日至 8 月 31 日之间的所有记录。
As far as I can see you can only choose one Data Range Dimension per table, and any date filter you add is tied to that date field.据我所知,您只能为每个表选择一个数据范围维度,并且您添加的任何日期过滤器都与该日期字段相关联。
Is there any way I can have separate date filters for each of my date fields?有什么办法可以为我的每个日期字段设置单独的日期过滤器吗?
Two Range Slider Community Visualisations could be used (one for each of the date fields, Sign Up Date
and Cancellation Date
).可以使用两个范围 Slider社区可视化(一个用于每个日期字段,
Sign Up Date
和Cancellation Date
)。
+Explore more
to view all: +Explore more
以查看全部: Create both Range Sliders below and adjust the date range as required, in this case 01 Jan 2021 to 31 Jan 2021 for Sign Up Date
and 01 Aug 2021 to 31 Aug 2021 for Cancellation Date
:在下面创建两个范围滑块并根据需要调整日期范围,在本例中,
Sign Up Date
为 2021 年 1 月 1 日至 2021 年 1 月 31 日, Cancellation Date
为 2021 年 8 月 1 日至 2021 年 8 月 31 日:
Sign Up Date
Sign Up Date
Cancellation Date
Cancellation Date
Editable Google Data Studio Report (Embedded Google Sheets Data Source) and a GIF to elaborate: 可编辑的 Google Data Studio 报告(嵌入式Google 表格数据源)和一个 GIF 来详细说明:
It looks like there is not.好像没有。 What you can do it make different versions of advanced filters and use the "Between" function to compare numeric values.
你能做什么它制作不同版本的高级过滤器并使用“Between”function 来比较数值。 So you have to convert dates to some kind of numeric value first.
因此,您必须先将日期转换为某种数值。 Here is an example for this: Data Studio Date Range Filter on hour, minute level
这是一个示例: Data Studio Date Range Filter on hour, minute level
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.