Forum Discussion

suniltakhtani's avatar
suniltakhtani
Former Employee
Jul 07, 2021

To get TopXRows for each ActivityId from Traces Table

Hi Team,

I have "Traces" table in kusto, i want to write a query to fetch TopXRows for each ActivityId.

For Ex: I have 3 ActivityId and TopXRows=5

So I want to fetch 15 records from Traces table order by Timestamp, with 5 records for each ActivityId.

 

Is this possible in kusto?

 

@

Resources