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
I'm working on a power bi report for a training center
I have 2 database coming from excel :
- one with a trainee list (important column : user name, training session ID)
- one with a training session list (important column : training session ID, training classification)
training classification can be either "tech training", "com. training" or "other" depending on the session
Both base are connected using the training session ID
I first want to know how many trainee I have per session. That's easy, I create a new measurement in " training session list" : NbTrainee = COUNTA('Trainee list'[User Name])
This works
So know to know the average number of trainee per session in each of the 3 possible classification
I tried playing with average but I can't find a way to make it work. Can someone help me ?
Solved! Go to Solution.
@Arkhos94 , Try a measure like
averageX(values('Trainee list'[training session ID]),calculate(COUNTA('Trainee list'[User Name])))
@Arkhos94 , Try a measure like
averageX(values('Trainee list'[training session ID]),calculate(COUNTA('Trainee list'[User Name])))
It seems to work, thanks
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
127 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |