Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
nft25
Microsoft Employee
Microsoft Employee

Calculate summary statistics for top nth percentile

Sample data (actual dataset a few GB's in size).

Call it Table1:

DistrictSchool# of students
1A1001
1B2163
1C1345
1D546
2E456
2F125
2G567
3H1020
3I1150

 

My final goal is to have a table with the mean and standard deviation of school sizes for the top nth percentile for each district.
So basically:
1) Take the top nth percentile (let's say top 80th as an example) school size for each district

2) Find the mean and variance or standard deviation school size for that top 80th percentile group for each district


Final result might look like (didn't calculate values based on sample data):

DistrictMean # of students (top 90th percentile)Var # of students (top 90th percentile)
1########
2########
3########

 

 

So far I've only managed to use a measure (see below) to find the value of the top 90th percentile and use a Table visualization to see this measure for each district, but it's far from my goal.

i.e. Measure=PERCENTILE.INC(Table1[# of students],0.9)

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.