Good day.
I have a powerapp which is connected to a customlist to enter a mobile device survey, wherein one of the field is a lookup column, which points to another custom list that has all the mobile devices for selection.
Here is my main survey list with the lookup column.
And here is the list where the lookup column fetches the data, which is the Title Field.
Now, im my powerapp. I have created a custom card, where i set the source of the dropdown control to the Mobile Devices list using the lookup function, so that i can display values with IsAvailable field = true
and here is the Custom Datacard. but the problem is that, the dropdown is always showing the value LG G6, in which the IsAvailable = false
Now, if i set it to false, it will display LG G6. but i think the formula isn't working properly if im getting the data where IsAvailable = true, it seems that its only returning the latest data. As i test it again, by adding a new Phone.
but wierd thing, is that , it is still showing LG G6 with IsAvailable = No,
Is this a bug on using the LookUp function?
what is the best way that i can this to work correctly.
Thank you very much for the help and support.
Hi @rommeldvo,
So you said that you have added a custom data card inside a DisplayForm, I assume. What is the data source of this Form? Is it also mobile devices list? Also, what is the column type of "IsAvailable"? Is it a Yes/No column?
In addition, the LookUp function only finds the first record in a table that satisfies a formula. We use LookUp to find a single record that matches one or more criteria. This is the reason why you only got one result in the dropdown control.
Or if you are trying to add this dropdown in the EditForm of Survey list, and submit it to Survey list, then I'm afaid that this cannot be done so far.
Regards,
Mona
Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
Did you miss the call?? Check out the Power Apps Community Call here!
User | Count |
---|---|
257 | |
203 | |
75 | |
38 | |
31 |
User | Count |
---|---|
342 | |
215 | |
117 | |
71 | |
53 |