Hi,
I'm a total noob so apologies but I've been searching for hours so it's time to ask a stupid question.
I have a SharePoint list call Accounts and and Column within called Cities. You can chose from 20 cities but I only have 3 entries so far...Liverpool, Manchester and Chester. I've added a drop-down to my PowerApp but for the life of me I can get it to populate with the 3 cities. Any ideas? Many thanks in advance
Tez
Solved! Go to Solution.
On the items property of the Dropdown:
Accounts.Cities
Or
["Liverpool", "Manchester","Chester"]
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Thanks. I tried Accounts.Cities. The code now has an exclamation mark, the Cities part has a double blue line underneath and the following warning appears. "Warning: the columns produced by this rule are all nested tables and or records, however the property expects at least some columns of simple values (such as text, or numbers)
Plus the drop down is blank in preview
Any ideas?
Hi @Tez
Can you try to update the expression to:
Choices(Account.Cities)
In the advanced tab on the right side, you can select which column to display. There is a dropdown named Value.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
I just realised that this solution shows every choice available in the Sharepoint column so it lists every City in the uk. Can I make it only shows the chosen values so far I.e. Liverpool, Manchester, Chester
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
213 | |
198 | |
83 | |
59 | |
38 |
User | Count |
---|---|
311 | |
255 | |
123 | |
86 | |
55 |