Forum Discussion
M help
- 4 years ago
Hey PBInewbie21 ,
I'm sorry I have overlooked the business rule.
Of course, this makes the formula a little more complex. The following screenshot shows the expected result:
The essential part of the query creating the custom column "Column3":
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom3", each Table.SelectColumns( Table.SelectRows(#"Changed Type" , each [Column1] = List.Max( #"Changed Type"[Column1] ) ) , {"Column2"} ){0}[Column2] //get the value from Column2 in the first row // explicit type of custom column 3 , Int64.Type ) in #"Added Custom"
Hopefully, this now provides what you need to tackle your challenge.Regards,
Tom
Hi PBInewbie21
Have you solved this question with TomMartens's help? If you have solved the question, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.❤️
If you need more help, please let me know.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.