Hello Community,
I created a container that has Button gallery to filter assigned assets based All, Permanent, Temporary& OverDue.
All filters by all Assets
Permanent filters by Permanently assigned assets. --choice column named Status
Temporary filters by temporary assigned assets ---choice column named Status
Overdue filters by assets past their ReturnDate (a SharePoint column).

I can successfully filter my gallery with the All, Permanent and Temporary buttons. am having a challenge filtering Overdue button.
I want the OverDue button to check status column for temporary assets and also the ReturnDate column and then filter those assets that are past their Due date.
The code for Items of the Buttons gallery :
Table({varFilter:"All"},{varFilter:"Permanent"},{varFilter:"Temporary"},{varFilter:"OverDue"})
This is the code of the main gallery under Items on which i make my filters which are successful.
If(TabsGallery.Selected.varFilter="All ",'Asset Register',Filter('Asset Register',Status.Value= TabsGallery.Selected.varFilter))
I need help to add the OverDue functionality to this filter query.
You can also suggest new functionality for both the buttons and filter codes.