Попробуйте:
let someResult=
customEvents | where name in ('SomeAction')
| parse customDimensions.someId with someId
| parse customDimensions.sometaskId with someTaskId
| parse user_AuthenticatedId with user
| summarize max(timestamp) by user, someId , someTaskId
| join (
customEvents | where name in ('someAction')
| parse customDimensions.action with someAction
| parse customDimensions.someId with someId
| project someAction,someId
) on someId
| join (
customEvents
| where name in ('someResult')
| parse customDimensions.someId with someId
| parse customDimensions.someIdsWithSomething with sometaskIds
| parse array_length(split(customDimensions.someIdsWithSomething ,',')) with someTaskCount
| distinct someId , sometaskIds,someTaskCount
| where sometaskIds<> ''
) on someId
| summarize summarized = sumif(todouble(someTaskCount),someAction=="accept")/sum(todouble(someTaskCount));
someResult
| project summarized / 10
Я не смог проверить это, поскольку у меня нет этих пользовательских размеров, но он основан на этом рабочем / проверенном примере:
let someResult = requests
| summarize summarized = count();
someResult
| project summarized / 10