cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

PowerApps dropdown -Current Year

I want to Set the default selected items of the dropdown will be current year how i coultd be possible

1 REPLY 1
Highlighted
Community Support
Community Support

Re: PowerApps dropdown -Current Year

Hi @HN,

Could you please share a bit more about your scenario?

Could you please share a screenshot about your app's configuration?

I suppose that you want to set the default value (DefaultSelectedItems property) of the Combo Box control to current year, is it true?

If you want to set the default value (DefaultSelectedItems property) of the Combo Box control to current year, please take a try with the following workaround:

Set the DefaultSelectedItems property of the Combo Box control to following formula:

{
    '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Value: Text(Now(),"yyyy")
}

Please check and see if the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/General-Discussion/Validate-combobox-for-default-selected-items-...

In addition, please also check the following blog for more details:
https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,399)