Azure Analytics:Kusto 查询仪表板按 client_CountryOrRegion 分组,因此只要更改 UTC 时间:过去 24 小时就会显示结果偏差
Azure Analytics : Kusto Query Dashboard group by client_CountryOrRegion and so whenever changing UTC time: past 24 hours it shows deviation in result
pageViews
| where (url contains "https://***.com")
| summarize TotalUserCount = dcount(user_Id)
| project TotalUserCount
现在,当按 client_CountryOrRegion 进行汇总时,所选不同时间范围的结果存在偏差,即 24 天、2 天、3 天、7 天等...按国家/地区划分的用户数不匹配总数。是因为 UTC 时区吗?
pageViews
| where (url contains "https://***.com")
| summarize Users= dcount(user_Id) by client_CountryOrRegion
任何帮助或建议都是氧气。
引用 dcount
的文档:
The dcount() aggregation function is primarily useful for estimating the cardinality of huge sets. It trades performance for accuracy, and may return a result that varies between executions. The order of inputs may have an effect on its output.
您可以通过向 dcount
提供 accuracy
参数来提高估计的准确性,例如dcount(user_Id, 4)
。请注意,这将改进估计(以查询性能为代价),但仍然不会 100% 准确。您可以在 doc.
中阅读更多相关信息
pageViews
| where (url contains "https://***.com")
| summarize TotalUserCount = dcount(user_Id)
| project TotalUserCount
现在,当按 client_CountryOrRegion 进行汇总时,所选不同时间范围的结果存在偏差,即 24 天、2 天、3 天、7 天等...按国家/地区划分的用户数不匹配总数。是因为 UTC 时区吗?
pageViews
| where (url contains "https://***.com")
| summarize Users= dcount(user_Id) by client_CountryOrRegion
任何帮助或建议都是氧气。
引用 dcount
的文档:
The dcount() aggregation function is primarily useful for estimating the cardinality of huge sets. It trades performance for accuracy, and may return a result that varies between executions. The order of inputs may have an effect on its output.
您可以通过向 dcount
提供 accuracy
参数来提高估计的准确性,例如dcount(user_Id, 4)
。请注意,这将改进估计(以查询性能为代价),但仍然不会 100% 准确。您可以在 doc.