Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I’m trying to create a new column that references each rows values compared to that of the entire table in power query. For example, I have a table of students, their study time (broken down into groups or less than 3 hours, 3-6 hours and > 6 hours) and their grades on an exam (each row is a student). I’m trying to create a new column that renders the predicted test grade based solely off of their study time value (so if their study time is less than 3 hours for example, the value of the new column for that row would be the average exam score over the whole table for all rows that had a study time of less than 3 hours). How can I create a new column that achieves this and filters the entire table based on each rows value?
Solved! Go to Solution.
Hi @Ad550 ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regard
Hi @Ad550 ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regard
@Ad550 ,
I know your question is to build it in power query but I think this would be more efficient as a measure. Does it have to be in power query?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 23 |