First, make sure you have a collection in your app that contains the "supplier" field. If you don't have one yet, you can create it by using the ClearCollect function or any other appropriate method for your scenario. For example, if you have a SharePoint list named "Suppliers," you can create the collection like this in the OnStart property of your app or when a specific screen loads:
Code: Select all
ClearCollect(MySuppliers, Suppliers);
In the right-hand pane, under the "Properties" tab, find the "Visible" property.
Enter the following formula in the "Visible" property box:
Code: Select all
If(
IsBlank(LookUp(MySuppliers, !IsBlank(supplier))),
false,
true
)