I am trying to write a Kusto query, where I have a bool variable and based on that variable I want to call different functions. For example:
let flag = true;
let result = iff(flag == "true", function1, function2)
// function1 will return a different table and function2 will return another table.
The above code is not possible because the methods like iff() and case()
can only be operated on scalar values.
So, Is there any way that I could achieve this ?