I have created a collection from SharePoint. In the SharePoint this column is set up as choices.
I have created a collection using this formula
ClearCollect(Deadline, {Result: "All"}); Collect(Deadline, Choices('Test Closing calendar'.'Deadline Day'))
However the items collected from SharePoint are displayed or collected as values not results.
Can I change them into results? or when using this collection for filtering the gallery I need to play with formula a bit?
@Anonymous ,
No it is not - the field name is field_4 you must have imported this from Excel - you need
field_4.Value = 'Deadline Selection'.Selected.Value
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Got the same link
@Anonymous ,
You are missing the end - another way is to hover over the field name and the URL is at the bottom.
@Anonymous ,
Maybe it should be
'Deadline Day'.Value
or you could also try
Deadline_x0020_Day'.Value
The actual name is at the end of the URL of the screen you have posted.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
If you mean what is the Dropdown box that shows the collection of Deadline it's exactly the list you see as Choice (WD1, WD2, ...)
I am sorry but on the settings for this field I don't see any URL
@Anonymous ,
Go to your SharePoint List Settings, select Deadline_Day and look at the end of the top URL to see the actual field name. Also what are the Items of the Combo Box ?
When I type this one in, I got an error message "Name isn't valid. Value isn't recognized".
On the SharePoint this field is a single choice field.
@Anonymous ,
That is why I used .Value - are you saying there is an error on
Deadline_Day.Value = 'Deadline Selection'.Selected.Value
also what are the Items of 'Deadline Selection' and is Deadline_Day a single or multiple choice in SharePoint ?
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2