ClearCollect(
colServiceDates,
{ServiceDate: ThisItem.ExtraSvc1Field1, ServiceSMR: ThisItem.ExtraSvc1Field2},
{ServiceDate: ThisItem.ExtraSvc2Field1, ServiceSMR: ThisItem.ExtraSvc2Field2},
{ServiceDate: ThisItem.ExtraSvc3Field1, ServiceSMR: ThisItem.ExtraSvc3Field2},
{ServiceDate: ThisItem.ExtraSvc4Field1, ServiceSMR: ThisItem.ExtraSvc4Field2},
{ServiceDate: ThisItem.ExtraSvc5Field1, ServiceSMR: ThisItem.ExtraSvc5Field2},
);<div> <div> </div></div>
Hi @MIA27 ,
You don't have to, If you are adding the values in the collection and later want to exclude blank values. You can try the code I gave.
But if you don't even want to introduce into your collection then you can handle using If(!IsBlank(TextBox.Text), //add in collection) kinda stuff.
Its all up to you how you manage it.
You mean I need to add another collection under it, and now the gallery to be based on the new collection name.
Pls. confirm so that I can do the changes in the app.
Hi @MIA27 ,
Is this what you are trying to filter the collection?
Filter(
colServiceDates,
ServiceDate <> Blank()
)
Hope this helps
WarrenBelz
146,653
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional