Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Is it possible to get the max value from another column in a different table in query editor?
Solved! Go to Solution.
@Anonymous
Try
List.Max(AnotherTableName[ColumnName])
Hi @Anonymous ,
The reply of Zubair_Muhammad should be helpful.
Have you solved your problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share some data sample and your desired output so that we can help further on it.
Best Regards,
Cherry
Hmm, for Power Query, I'll refer you to @ImkeF
@Anonymous
Try
List.Max(AnotherTableName[ColumnName])
Greetings, @Zubair_Muhammad! Wanted to extend this post a bit and ask if you know how to use the List.Max to find the value that is <= to the current record's value?
For example, if I have a table like this called Data:
Date | Value |
10/1/21 | 100 |
11/1/21 | 200 |
1/1/22 | 100 |
And a table like this called Commissions:
Change Date | Change % |
9/1/21 | 10% |
12/1/21 | 15% |
I want my M Query to return this in the Data table:
Date | Value | Change % |
10/1/21 | 100 | 10% |
11/1/21 | 200 | 10% |
1/1/22 | 100 | 15% |
I'm assuming I need to use the List.Max in some sort of "for each" loop.