Forum Discussion
Deleted
Dec 22, 2017Using Lambda to Extend Table
I'm trying to move some logic out of the main query into a lambda so the main query is easier to read.
So I want to take logic like this:
```
T //columns: operation_Name
| extend pa...
Meir_Mendelovich
Microsoft
Dec 24, 2017Hi,
The following query is working for me:
let translate_path = (operation_Name:string)
{
iif(operation_Name == '/', 'home', 'other')
};
AzureActivity
| take 10
| extend path_Label = translate_path(OperationName)
Hope it helps,
Meir
Meir_Mendelovich
Microsoft
Dec 24, 2017You can try this in the demo portal