web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to Find Max Value ...
Power Apps
Answered

How to Find Max Value From Two Separate Tables

(0) ShareShare
ReportReport
Posted on by

I have a Power App that uses data from two separate SQL tables. Each table has a column with item numbers in it. I want to find the max value of all item numbers from both tables. I tried using Table to create a temp table with the two columns in it but that does not work (see below). What would be the correct way to get this answer?

 

Max(

Table( 

{Number: 'table1'.'itemnumber'},

{Number: 'table2'.'itemnumber'}

), Number

)

Categories:
I have the same question (0)
  • SH-24071903-0 Profile Picture
    on at

    Thanks @rubin_boer I was able to get it to work.

  • Verified answer
    rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    hi @StevenHiatt try Max(Max(table1,column),Max(table2,column))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 401

#2
WarrenBelz Profile Picture

WarrenBelz 334 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 325 Super User 2025 Season 2

Last 30 days Overall leaderboard