简体   繁体   English

如何在 Google Data Studio 中创建“过去 3 个月”的时间段

[英]How to create a 'past 3 months' time period in Google Data Studio

I'm trying to have my line chart show data for the past 3 months.我试图让我的折线图显示过去 3 个月的数据。 GDS has a 'last quarter' date range, but this shows me Q1, Q2, Q3, or Q4. GDS 有一个“最后一个季度”的日期范围,但这显示了 Q1、Q2、Q3 或 Q4。 What I need is the data for the past 3 full months (not counting the current month).我需要的是过去 3 个完整月的数据(不包括当月)。 I tried creating a calculated field but the documentation isn't proving very useful for the matter at hand.我尝试创建一个计算字段,但事实证明文档对于手头的问题并不是很有用。

eg.例如。 If the current date is Feb-20, I want to show data from 'Nov 1 - Jan 31'.如果当前日期是 2 月 20 日,我想显示“11 月 1 日 - 1 月 31 日”的数据。 Also need to compare to same period from last year.还需要与去年同期进行比较。

Can anyone help?任何人都可以帮忙吗? Thanks in advance!提前致谢!

I don't think this is possible in the way you're describing. 我认为您所描述的方式是不可能的。 You can achieve the same by creating a metric in your data source and then applying a filter at the page / chart / report level to remove data which doesn't meet your criteria 您可以通过在数据源中创建一个指标,然后在页面/图表/报告级别应用过滤器来删除不符合您条件的数据,来达到相同的目的

You can use the option "advanced" in the date dropdown and set the start date to today minus 3 months. 您可以在日期下拉菜单中使用“高级”选项,并将开始日期设置为今天减去3个月。

在此处输入图片说明

This still includes the current month.这仍然包括当前月份。 When you show data on a chart this way, it looks misleading because the beginning and current month on the chart will look smaller.当您以这种方式在图表上显示数据时,它看起来会产生误导,因为图表上的开始月份和当前月份看起来会更小。

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

相关问题 上个月不是从谷歌数据工作室的第一天开始 - Previous period of month not start from the first day in Google Data studio 如何在 BigQuery 中获取特定时间段的数据 - How to fetch data for a specific time period in BigQuery 如何在 Google Data Studio 中创建计算字段过滤器? - How to create Calculated Field Filters in Google Data Studio? 如何创建一个字段以返回 Google Data Studio 表中元素的 position? - How to create a field to return the position of an element in the table in Google Data Studio? 计算 BigQuery 中交易数据的销售指标(如过去 6 个月、过去 3 个月、一年前的销售等) - Calculate sales metrics (like past 6 months, past 3 months, sale one year ago etc.) on transaction data in BigQuery 如何创建仅在特定时间段内有效的具有分配角色的 GCP 服务帐户? - How can I create a GCP service account with assigned role that will only be valid for a certain period of time? 如何在同一 Google Data Studio 图表上添加多个时间维度? - How can I add Multiple Time dimensions on the same Google Data Studio chart? 如何将 Postgres 数据库连接到 Google Data Studio - How to connect Postgres DB to Google Data Studio 如何在 Google 数据工作室中跟踪商店或工作室名称/ID? - How to track store or studio name/id in Google data studio? 如何使用时间段扫描 DynamoDB 中的表? - How to scan a table in DynamoDB with time period?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM