如何在Google Data Studio中创建“过去3个月”的时间段 [英] How to create a 'past 3 months' time period in Google Data Studio
问题描述
我正在尝试使折线图显示过去3个月的数据。 GDS的日期范围为上一季度,但这显示了第一季度,第二季度,第三季度或第四季度。我需要的是过去3个月的数据(不计算当前月份的数据)。我曾尝试创建一个计算字段,但事实证明文档对解决此问题不是很有用。
I'm trying to have my line chart show data for the past 3 months. GDS has a 'last quarter' date range, but this shows me Q1, Q2, Q3, or Q4. What I need is the data for the past 3 full months (not counting the current month). I tried creating a calculated field but the documentation isn't proving very useful for the matter at hand.
例如。如果当前日期是2月20日,我想显示 11月1日-1月31日的数据。还需要与去年同期进行比较。
eg. If the current date is Feb-20, I want to show data from 'Nov 1 - Jan 31'. Also need to compare to same period from last year.
有人可以帮忙吗?
推荐答案
您可以在日期下拉菜单中使用高级选项,并将开始日期设置为今天减去3。
You can use the option "advanced" in the date dropdown and set the start date to today minus 3 months.
这篇关于如何在Google Data Studio中创建“过去3个月”的时间段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!