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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Match row number betwe...
Power Apps
Answered

Match row number between two tables

(0) ShareShare
ReportReport
Posted on by 278

Canvas App

Database = Google Sheets tables

All Text Input are separate (no galleries in this one)

 

Using a dropdown for selecting which Item the rest of the app makes reference to a particular item's row in a table.  But I have more than one table related to the item and the data in each sequential rows is directly related to the the first table's row choice.  So if the Dropdown chooses item 2, then all tables 2nd row are related to that one item.  This is to avoid having a 3000 column table.

 

What is a good way to use the row number in column one to determine what row number is effected in another table's save.

 

Example:

Normally I have been doing this to make use Text Inputs to read & write over the table.

 

  • Table 1 named 'Table 1'
  • Table 2 named 'Table 2'
  • Dropdown named 'Item Picker', is set to "Lazer Monkey"
  • Text Input named 'Color_3 Input'
  • Save Button named 'Save Button'

 

Dropdown - OnChange: Set(ChoosenItem,'Item Picker'.Selected)

 

Text Input - Default:  'Item Picker'.Selected.Color_3

 

Save Button - OnSelect: Patch(
'Table 1','Item Picker'.Selected,
{Color_1:'Color_1 Input'.Text,
Color_2: 'Color_2 Input'.Text,

Color_3: 'Color_3 Input'.Text
}

 

Z.PNG

 

But now I have to make reference to make reference to the other Table(Table 2) based on the Dropdown(Item Picker) and edit row 2 in this table too!!!

 

Table 2

Z2.PNG

 

What do I need to change in 'Table 1','Item Picker'.Selected, to make them work for Height, row 2?

 

Dropdown - OnChange: Set(ChoosenItem,'Item PIcker'.Selected)

Text Input - Default:  'Item Picker'.Selected.Height

 

Save Button - OnSelect: Patch(
'Table 1','Item Picker'.Selected,

{Height: 'Length Input'.Text,
Length: 'Height Input'.Text,

Width: 'Width Input'.Text
}

 

 

Categories:
  • Verified answer
    Humanity Profile Picture
    278 on at

    Simply create ID columns then filter to match.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard