简体   繁体   English

上个月不是从谷歌数据工作室的第一天开始

[英]Previous period of month not start from the first day in Google Data studio

Data has a column with 'YYYY-MM-01' as month.数据有一列以“YYYY-MM-01”为月份。

I am trying to compare the month over month of some metrics.我正在尝试比较一些指标的月度。 However, the previous period sometime does not start from the very first day of the month.但是,上一时期有时并非从该月的第一天开始。 I have a date range control to use the 1st and last day as range.我有一个日期范围控件来使用第一天和最后一天作为范围。

If you use Previous Period as your comparison period then, in the larger date picker select a month option (this month, last month) it will work by comparing month over month.如果您使用上一期间作为比较期间,那么在较大的日期选择器 select 中,一个月选项(本月,上个月)将通过逐月比较来工作。 Even though, for example, July has 31 days and June has 30, it will still compare the metrics for those months.例如,即使 7 月有 31 天,而 6 月有 30 天,它仍会比较这几个月的指标。

I think, since you are setting the main range as first day/ last day, it is only counting how many days are included and finding that same amount for the comparison period.我认为,由于您将主要范围设置为第一天/最后一天,因此它只计算包含的天数并在比较期间找到相同的数量。

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

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