web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to get dropdown...
Power Apps
Unanswered

Unable to get dropdown to function on filtered gallery (on SQL view)

(0) ShareShare
ReportReport
Posted on by 19

Hi All, I wonder if somebody can shed some light on this ....

I have a gallery based on an SQL View above my gallery, I have 3 dropdown which additionally filter on 3 columns.

In my gallery I have working text date and value fields, but trying to add a text field as a dropdown, does not seem to work. I get no values from my database using the Items = ThisItem.Auditor_Initials. Error says : "Expected table value".

I wonder if anybody can point me to an article explaing how to add a dropdown in a gallery, keeping the existing values from my SQL, and allowing an update via the dropdown using a PATCH.

What may affect this - I suspect- is that the Gallery is using some filters, and one of them is the Auditor_initials field which throws the error. 

Here is the gallery.Items :

 

 

If(Toggle_Accor.Value=true,
SortByColumns(
 Filter(
 View_POWERA_MSP,
 Country = filter_country.Selected.Country Or IsBlank(filter_country.Selected),
 planning = Value(filter_month.Selected.Value) Or IsBlank(filter_month.Selected),
 Auditor_initials = filter_auditor.Selected.initials Or IsBlank(filter_auditor.Selected),
	Parent_Company="Accor Hotels"
),
 ThisSortColumn,
 ThisSortOrder
 ),
SortByColumns(
 Filter(
 View_POWERA_MSP,
 Country = filter_country.Selected.Country Or IsBlank(filter_country.Selected),
 planning = Value(filter_month.Selected.Value) Or IsBlank(filter_month.Selected),
 Auditor_initials = filter_auditor.Selected.initials Or IsBlank(filter_auditor.Selected),
 Parent_Company<>"Accor Hotels"
),
 ThisSortColumn,
 ThisSortOrder
 ))

 

 

Any feedback or suggestions welcome.

Thanks / Kris

snip_gallery.png
Categories:
I have the same question (0)
  • kris_T Profile Picture
    19 on at

    Better picture : 

    snip_gallery_better.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard