Relative Content

Tag Archive for kqlazure-data-explorer

Dynamic Prev in Kusto (KQL)

I have a table with Dates, Tickers, And Strategies for multiple stocks. I’d like to create a revised strategy column that pulls the most recent strategy per ticker that isn’t equal to “Flat”. How could this be accomplished? I’ve tried serializing and used the prev function with no luck. Here’s an example of my data:

KQL: How to search between dates

I have been trying to find a way to search between dates in Azure Data Explorer but every example or format I find on the internet has led me to more errors. I need to be able to search our Log files between to dates. I found a previous question on here but the solutions do not seem to work for me.

Generate Chart by Type and State

I have different Types (A, B, C, …) and different States type string in Azure Data Explorer.
I would like to have a chart where all Types a sumed up by their States. So every column consists of A, B, C, etc. and then the sums by State.