Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Syntax for Kusto Query With Count

If I have 3 columns that one student studies multiple subjects:

StudentID | Subject | SubjectScore

And I want to find the total number of subjects for each StudentID, what should be the syntax for Kusto query?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It could be something like this one

TableName
| summarize TotalSubjects = count() by StudentID

don’t forget to change TableName with your actual table name

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading