cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
atray13
Helper III
Helper III

Dynamic filter default

Hi,

 

I am using a dynamic filter to filter a gallery i have, by using buttons to set it's value, which then updates my gallery.

 

I've noticed that when i first open the screen, my gallery is blank, as until one of the buttons is clicked on, the filter's value hasn't been set. Is there a way to set the default value of the filter so that when the screen opens there are items in the gallery?

 

My buttons set the value with the formula:

Button 1: Set(AllStaffGalleryFilter, "All")

Button 2: Set(AllStaffGalleryFilter, "Ward 1")
etc...

 

And in my gallery it is filtered by:

Filter(Shifts, 'Ward' = AllStaffGalleryFilter)

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User II
Super User II

@atray13 

Put one of the OnSelect formulas in the OnVisible property of the screen.  That will act as a default for your gallery.

View solution in original post

2 REPLIES 2
Drrickryp
Super User II
Super User II

@atray13 

Put one of the OnSelect formulas in the OnVisible property of the screen.  That will act as a default for your gallery.

View solution in original post

Great thank you!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (44,224)