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


Report
All responses (
Answers (