Hi All,
My current code is working fine but I having issue with delegations my code, how can I filter and avoid delegations?
Thanks
Here is my currant code
If(
First(StoreInventory).Value = "All",
Filter(
ProductServiceList,
ProductSearchBox.Text in Sales_x0020_Description
),
If(
First(StoreInventory).Value = "Stock",
Sort(
Filter(
ProductServiceList,
ProductSearchBox.Text in Sales_x0020_Description && Quantity_x0020_On_x0020_Hand > 0
),
If(
Quantity_x0020_On_x0020_Hand / Value(Stock) * 100 > 70,
"a",
Quantity_x0020_On_x0020_Hand / Value(Stock) * 100 >= 31 && Quantity_x0020_On_x0020_Hand / Value(Stock) * 100 <= 70,
"b",
Quantity_x0020_On_x0020_Hand / Value(Stock) * 100 >= 1 && Quantity_x0020_On_x0020_Hand / Value(Stock) * 100 <= 30,
"c",
Quantity_x0020_On_x0020_Hand = 0,
"d"
),
Descending
)
)
)