cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShawnLJ
Advocate II
Advocate II

Using the Item selection to pull specific user data

I noticed that when I am trying see data in an app I cannot see it until I go to the Items section and put in "BrowseGallery1.Selected" It then will show any data of the person I click on from the browse screen. I was wondering if there was a way I could change the equation under the Item section to only pull data to that screen that is from the user only from an excel doc. For example, something like:

 

If(User(Table1,"names"))

 

This equation does not work, but the idea would be this:

 

If the user is using the app then refer to table1. Pull data linked to user name row. 

 

Dont know if this is possible or not but thought I would ask. 

 

3 REPLIES 3
v-micsh-msft
Community Support
Community Support

Hi @ShawnLJ,

 

If here you mean to customize the record under the item property of the form control, yes, that is possible.

For Display Form control and the EditForm (Edit Mode) control, we could customize the item property with specific record, but the data source property must be fixed.

For example, in a Display form control, we have the Data Source property configured with Table1, then for the item property, we could set it with:

First(Filter(Table1, Name=User().FullName))

As filter () function will result in a table consists records which meet the condition, we need to use the first() (or the last) function to get the first record.

 

For the relationships between gallery control and the Form control, please check:

Understand data forms in Microsoft PowerApps

 

For the filter function, please check:

Filter, Search, and Lookup functions in PowerApps

 

Regards,

Michael

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

That worked thank you!

 

the only thing that is not pulling up now is the image, do you know an equation that would pull the image up? The images work in the browser search screen just not when I go into the profile itself. 

That worked thank you!

 

the only thing that is not pulling up now is the image, do you know an equation that would pull the image up? 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,040)