March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi everyone,
I have a table like this
One teacher can teach at different schools and teach differnet classes.
what I'm trying to do is count teacher group by school.
I used distinctcount and the result is like this
My goal is
Because teacher 1 teaches as 3 school A,B, and C.
If anyone know how to do this, please help.
Thank you so much
Solved! Go to Solution.
@Harry_Tran , Try to create a measure
countx(summarize(Table, Table[teacher id], table[School]),[teacher id])
@Harry_Tran , Try to create a measure
countx(summarize(Table, Table[teacher id], table[School]),[teacher id])
It works, thank you so much
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |