cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mikehrod89
Regular Visitor

Drop down not showing choices for Gallery (connected to sharepoint list)

Hello all 

 

I'm creating an app to track the requisitions for an specific department. This app is linked to sharepoint list.
I have a gallery that I want to filter using a drop down box but I don't know why its not showing the choices.

The formula I'm using for the drop down box is:
Distinct('Lab Request'.Creation Year)
"Lab request" is the name of the gallery & sharepoint list while "creation Year" is the column I want to filter.

Mikehrod89_0-1645147410138.png

 

 

Mikehrod89_0-1645146551167.png

 

I have made this kind of filter with other drop down boxes and they are working in edit mode

Mikehrod89_1-1645147447106.png

 

I dont know why the filter for the creation year is the only one not working even in edit mode.
I think this is something very simple, can someone help?

Thanks in advance!

 

1 ACCEPTED SOLUTION

Accepted Solutions
JanTHE
New Member

Hi @Mikehrod89 

 

I believe the syntax for your formula is wrong. 

 

Please try with comma, which would be

Distinct('Lab Request' , Creation Year)

instead of

Distinct('Lab Request'.Creation Year).

 

Hope that solves your query.

 

For the official documentation, you may refer to https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-distinct.

 

Cheers!

View solution in original post

1 REPLY 1
JanTHE
New Member

Hi @Mikehrod89 

 

I believe the syntax for your formula is wrong. 

 

Please try with comma, which would be

Distinct('Lab Request' , Creation Year)

instead of

Distinct('Lab Request'.Creation Year).

 

Hope that solves your query.

 

For the official documentation, you may refer to https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-distinct.

 

Cheers!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

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