How to use 'projec't to select custom dimensions. RRS feed

  • Question

  • From what I've read this query should work:

    | extend itemType = iif(itemType == 'customEvent',itemType,"")
    | where (itemType == 'customEvent' and  timestamp > ago(3d))
    | where (* has 'unrecognized phone number')
    | top 101 by timestamp desc
    project timestamp, customDimensions.PhoneNumber

    but I get the error: "Query could not be parsed at 'project' on line [6,0]"

    What's wrong with this query?

    Wednesday, November 20, 2019 1:17 PM