今天的日期过滤器在 table 图表中显示第二天的数据
today's date filter showing next day data in table chart
当我 select 日期为 9 月 16 日时,我可以看到 9 月 16 日早上 6 点和 9 月 17 日的数据,直到 5:59 上午。
从9月16日上午到9月17日早上6点,它正在治疗24小时。
日期字段或报告过滤器有问题吗?
BigQuery 的日期函数基于 UTC 时区工作。
您正在使用的 UI 可能会将它们转换为您当地的时区,并且您会看到 6 小时的差异。
出于可见性目的,我发布 作为答案:
如@Pentium10 所述:
BigQuery's date functions work based on UTC timezone. The UI you are using probably converts them into your local timezone, and you are seeing the 6 hours difference.
根据this Data Studio uses UTC standard time, but if your data set does not use UTC you can use the TODATE function将日期字段转换为UTC。
当我 select 日期为 9 月 16 日时,我可以看到 9 月 16 日早上 6 点和 9 月 17 日的数据,直到 5:59 上午。 从9月16日上午到9月17日早上6点,它正在治疗24小时。 日期字段或报告过滤器有问题吗?
BigQuery 的日期函数基于 UTC 时区工作。 您正在使用的 UI 可能会将它们转换为您当地的时区,并且您会看到 6 小时的差异。
出于可见性目的,我发布
如@Pentium10 所述:
BigQuery's date functions work based on UTC timezone. The UI you are using probably converts them into your local timezone, and you are seeing the 6 hours difference.
根据this Data Studio uses UTC standard time, but if your data set does not use UTC you can use the TODATE function将日期字段转换为UTC。