I have a simple app with a gallery showing a list of assets (base is a SP list using the default 'assets' template). One of the columns in the list is 'AssetType' (=Smartphone, Laptop, Printer, Accessory).
I would like to give the user the ability to filter the list by AssetType. So far, I've done the following using a combo box:
ComboBox items
items = Choices('Asset Manager'.'Asset type')
Gallery items
items = Filter('Asset Manager', 'Asset type'.Value = ComboBox3.Selected.Value)
This works fine, and the gallery changes based on drop down selection. But the obvious issue is that when no items is selected, the gallery too will show no items. Is there a way to either:
Is either of those a possibility?
Solved! Go to Solution.
Use this for Gallery items
Filter(
'Asset Manager',
'Asset type'.Value = ComboBox3.Selected.Value || IsBlank(ComboBox3.Selected.Value)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Use this for Gallery items
Filter(
'Asset Manager',
'Asset type'.Value = ComboBox3.Selected.Value || IsBlank(ComboBox3.Selected.Value)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
258 | |
127 | |
102 | |
49 | |
47 |