Hi, In this picture below is the collection that has column: license_number, and I do not want to show the record has "-" in the gallery.
This is the code that I've tried.
I am looking forward to hearing your feedback and advice
Thank you

ForAll(
tbl_hist_insurance,
If(
license_number = "-",
Hidden
);
Collect(
col_insuranceData,
{
SaleCode: SaleCode,
license_number: license_number,
sale_TName: LookUp(
tbl_mas_saleagents,
Title = tbl_hist_insurance[@SaleCode]
).sale_TName,
sale_FName: LookUp(
tbl_mas_saleagents,
Title = tbl_hist_insurance[@SaleCode]
).sale_FName,
sale_LName: LookUp(
tbl_mas_saleagents,
Title = tbl_hist_insurance[@SaleCode]
).sale_LName,
license_name: LookUp(
tbl_mas_license,
licenseCode = tbl_hist_insurance[@licenseCode]
).license_name
}
)
);