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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (5,880)