【发布时间】:2020-05-21 18:17:51
【问题描述】:
在下面的查询中,我想显示该用户的电子邮件 ID 和唯一用户 ID。
customEvents
//| where customDimensions.UserId == 'Error'
| where timestamp > ago(2d)
| summarize values = dcount(tostring(customDimensions.UserId)) by tostring(customDimensions.email)
数据:
UserId email
1 someone@x.com
Error someone@x.com
2 other@x.com
3 otherother@x.com
Error otherother@x.com
预期输出:
someone@x.com. 1, Error
other@x.com 2
otherother@x.com 3, Error
【问题讨论】: