Closed slaymaker1907 closed 3 years ago
If you want the lambda to be part of the same query, you should remove the empty line between the lambda definition and the query body. An empty line in %%kql is interpreted as a separator between different queries.
It looks like it just gets rid of the lambda expression and doesn't send it to the server.
The above query works when I run it with Kusto.Explorer but fails when running with Kqlmagic.