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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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