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 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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,127)