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

独自空忆成欢 提交于 2019-12-02 07:38:43

问题


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.

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.

Can anyone help? Thanks in advance!


回答1:


You can use the option "advanced" in the date dropdown and set the start date to today minus 3 months.




回答2:


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



来源:https://stackoverflow.com/questions/48930118/how-to-create-a-past-3-months-time-period-in-google-data-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!