Hi all,
I have a page called Maintenance Page. Inside this page, there is 2 dropdown, Dept and Unit.
I also have gallery to display Dept, Unit and other columns related. When user first land to this page, I want to set by default, the items that they will see is Dept = Admin, and Unit = 100.
Currently, I have done this:
App.Onstart = ClearCollect(ColCC,ShowColumns(Filter(database, dept = "Admin", Ynit = "100", "dept","unit","xxxx"));
gal.Items = ColCC
When I play in the app it works, but when I publish, the gallery showed all items instead of filtered ones. How do I fix this? Appreciate your help 🙂