cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Drop Down List - The function 'Choices' has some invalid arguments.

Hello,

 

Recently I've encountered this problem with Drop Down Lists:

 

1.png 

2.png

 

And when I start the app and try to choose from Drop Down List it displays only blank space...

 

3.png

 

If anybody knows what to do, please advise.

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Thank you for your reply.

 

I've already tried everything you mentioned, but with no avail.

I solved this problem by recreating PDCA list in Sharepoint (as another sharepoint list) and I've connected it to the Data Source.

Now everything works as if nothing happened, but unfortunately I still don't know what the source of the problem was.

View solution in original post

5 REPLIES 5
v-xida-msft
Community Support
Community Support

Hi @Anonymous,

I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:9.JPG

Please take a try to modify the formula within the Items property of the Combo Box as below:

Choices(PDCA.KAT)

then check if the issue is solved.

In addition, please also check if you have renamed the corresponding columns within your PDCA list. If yes, please take a try to re-create a new app based on the PDCA list, check if the issue still exists.

Please also consider take a try to delete the connection to your PDCA list, then re-add a new connection to the it, check if the issue is solved.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank you for your reply.

 

I've already tried everything you mentioned, but with no avail.

I solved this problem by recreating PDCA list in Sharepoint (as another sharepoint list) and I've connected it to the Data Source.

Now everything works as if nothing happened, but unfortunately I still don't know what the source of the problem was.

I have an issue to get SharePoint Meta Data Column values. Could you clarify more on the default drop down combo is there any customization on the properties to show the meta data as in my case it can't be retrieved in the drop down and I got error ''the function choices has some invalid arguments".


@Anonymous wrote:

Thank you for your reply.

 

I've already tried everything you mentioned, but with no avail.

I solved this problem by recreating PDCA list in Sharepoint (as another sharepoint list) and I've connected it to the Data Source.

Now everything works as if nothing happened, but unfortunately I still don't know what the source of the problem was.



I think this is actually a bug. The same thing happens to me and if I just cancel and rewrite the same function Choices() it will work fine. It is very annoing because this error keeps appearing and I still haven't found an explanaition.

Thanks, It works fine after recreating the SharePoint list.
But I have another issue, The issue is the drop down list does not show more than 20 meta data term items.
Is there any work arround to show all meta data terms.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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