cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AvenaFernando
Helper II
Helper II

How to reference between tables and key, and show the value of a textual column, not a key

I used the tutorial: FlooringEstimates.xlsx - https://powerapps.microsoft.com/en-us/tutorials/add-form/

 

But in the column: Category, I wanted a KEY to be written there, coming from another table (UNIQUE_ID_CATEGORY).

 

flooring-estimates.pngflooring-estimates-id-category.png

 

Is there a way to show the name: Carpet / Hardwood / Tile, from the ID_Category table, in the EditForm and ViewForm, but using the data from the FlooringEstimates table?

 

power-apps-category-dropdown.png

 

 

But when Edit or New record, to be able to choose in the Dropdown the names of the categories (Carpet / Hardwood), but being recorded in the table the key of each category (201F206C / 32E2FB58).

 

It is possible to record the category key, but selecting and showing the category name.

 

 

Update

I noticed that it used below the dropdown a form, and therefore it did not work, placing a gallery of text, has shown all the products of the category.

 

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi AvenaFernando,

 

Thanks for updating. And I am glad to hear that you have solved this issue.
Any time you got issues when working with PowerApps, welcome post your issues here, we are always ready to help.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The application with solution for those who are learning and want to understand is there.
https://1drv.ms/u/s!AijLzG3PzbargXwN_Gaf0nzi8qVm

 

The Dropdown and Gallery accepts to receive data type table.

Form only one record.

 

But being careful to the table of a certain category does not have more than 500 items.

https://powerapps.microsoft.com/en-us/tutorials/delegation-overview/#non-delegable-limits

 

This is correct?

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,439)