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
Ad550
Frequent Visitor

Powerquery column based off entire table values

How can I add a new powerquery column that references the entire table.   For example, I have a table of students with a column for grades on an exam and another column for study time (either under 3 hours, 3-6 hours or > 6 hours).   I want to add a column called "predicted grade" that calculates the average student grade across the whole table based on the students study time.  So for example if a row (student) has a study time value of under 3 hours, then then the predicted grade value for that row should be the average grade of all students in the table who had that same value (of under 3 hours) for study time.  

How can I add a new column like this that references an entire table calculation and filters it based on each row value?

 

thanks! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Ad550 ,

Please check my reply in the below thread:

Create a PowerQuery Column That References Entire Table

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @Ad550 ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Anonymous
Not applicable

Hi @Ad550 ,

Please check my reply in the below thread:

Create a PowerQuery Column That References Entire Table

Best Regards

Dinesh_Suranga
Continued Contributor
Continued Contributor

@Ad550 

Hi,

Could you please share some sample data and expected result.

Thank you.

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.