Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
in power query, when groping rows is there any way using Power M to pick column from each column as below
For Quanity ordered column, select maxium value
For remaining, columns are selected from the row where Receipt date is bigger
Solved! Go to Solution.
Hi @dogburalHK82 ,
Here's my sample data. I also added a third row for a better demo. A column of Group IDs has also been added, and I think you have a similar column in your data for grouping.
Here's my solution.
1.You can group like this.
2.Expand rows.
3.Add a conditional column.
4.Filter out "0".
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous thank you for the detailed instruction.
Hi @dogburalHK82 ,
Here's my sample data. I also added a third row for a better demo. A column of Group IDs has also been added, and I think you have a similar column in your data for grouping.
Here's my solution.
1.You can group like this.
2.Expand rows.
3.Add a conditional column.
4.Filter out "0".
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.