Hello, I've got a PowerApp with a dropdown in it and I'm trying to put a field of a row inside the Default property of this dropdown but then I gave up and that's why I'm here asking for help. D=
The column I'm trying to reach is a Choice type column in SharePoint.
This is the formula I managed to make so far after 4hours of attempts approximately:
First(Filter(
NameOfSharePointList;
columnTitle = "0001"));
{columnLanguage: {Id: dropdownLanguage.Selected.Id;
Value: dropdownLanguage.Selected.Value}})
From what I know I need to put a Filter function and to reach a specific column in a specific row, but nothing I've tried so far works.
Thanks, ProNewbie.
Solved! Go to Solution.
To get the data from the choice column type
use Lookup(NameOfSharePointList, columnTitle = "0001").columnLanguage.Value (this will give you the text in the choice field)
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @ProNewbie
Lookup(NameOfSharePointList, columnTitle = "0001").columnLanguage.Value
First(Filter(NameOfSharePointList, columnTitle = "0001")).columnLanguage.Value
Both will work
However performance wise Lookup is better
Lookup only returns 1 record
Filter returns a collection and hence we have to do First after that
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
To get the data from the choice column type
use Lookup(NameOfSharePointList, columnTitle = "0001").columnLanguage.Value (this will give you the text in the choice field)
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Tested and it works!
Thank you so much, I completely forgot about the LookUp() function.
^_^
ProNewbie.
Hi @ProNewbie
Lookup(NameOfSharePointList, columnTitle = "0001").columnLanguage.Value
First(Filter(NameOfSharePointList, columnTitle = "0001")).columnLanguage.Value
Both will work
However performance wise Lookup is better
Lookup only returns 1 record
Filter returns a collection and hence we have to do First after that
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Ok, thanks for the tip also.
ProNewbie.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
198 | |
172 | |
61 | |
32 | |
32 |
User | Count |
---|---|
336 | |
271 | |
104 | |
71 | |
56 |