Hi
I have a Datatable that pulls back all the Delivery notes from a Part number. It uses the below formula:
With({aFilter: Filter('Tbl Delivery Dev2','ORDER REF'=POTableDescrip_1.Selected.'ORDER REF')},
Filter(aFilter,
If(TogDesPO2.Value,'ORDER REF'=POTableDescrip_1.Selected.'ORDER REF',true),
If(TogDesDelivery2.Value,STATUS="Delivered",true)
)
)
I have a toggle(TogDesPO2.Value) that looks at another datatable, which contains Purchase Order numbers for the same part number.
When the toggle is off it should bring back all the delivery notes for that part number, which it doesn't. When the toggle is on, it should only show the delivery notes for the selected Purchase Order number, which it does.
Any help would be appreciated.