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 Automate / Setting defaults and h...
Power Automate
Unanswered

Setting defaults and hiding future dated items

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have 2 issues that I need to fix please:

 

1) I have a filter that I am wanting to hide SharePoint list items pulling through where the article date is future dated, but when I do this it also hides content from today. Is there a way to make this hide content from tomorrow onwards? The way in which I have done this is by putting a date picker (called HideScheduled) on and putting the default date as Today()+1 and then in my gallery putting the filter as ArticleStartDate < HideScheduled

 

2) I have a multi select combobox which by default shows none of the options as being selected. Is there a way to set the default to select all options?

 

Thanks

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share more details about your SharePoint list?

    Where do you want to achieve your needs? Within PowerApps or Microsoft Flow?

     

    I suppose that you use PowerApps app to achieve your needs on your side, is it true? I have created a SharePoint list on my side and the data structure of it as below:12.JPG

     

    For your first question, I think there is something wrong with the filter formula within your Gallery control in your PowerApps app. I have made a test on my side and the records show well in the Gallery control of my PowerApps app. My PowerApps app's configuration as below:

     13.JPGThe DefaultDate property of Date Picker (Renamed as HideScheduled) control set to following formula:

     

    Today()+1

     

    The Items property of the Gallery control set to following formula:

     

    Filter('20180329_case6',ArticleStartDate<HideScheduled.SelectedDate)

     

    Please check if you have filled proper formula within the Items property of Gallery control in your PowerApps app.

     

    For your second question, if you want to set the default to select all options within the ComboBox control in your PowerApps app, please set the DefaultSelectedItems property of ComboBox control to following formula:

    '20180329_case6'.Executor

    Note: The '20180329_case6' is the data source (SharePoint list) within my PowerApps app, the Executor is a column in my SharePoint list.14.JPG

     

    On your side, you should type the following formula within the DefaultSelectedItems property of CommoBox control:

    DataSource.ColumnName

     

    Best regards,

    Kris

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard