@JV_DXB
Looking at the formula you provided I think you are wanting to use the toggle to show items in a table with either a CLOSED status if the toggle is off or an OPEN status if the toggle is on. You also need to be able to use a text field to search content at the same time.
You will need to pass the filtered table into the search function so the search is performed only on these results. Can you try using the following code in the items property of a gallery or table:
If(Toggle1.Value,
SortByColumns(
Search(
Filter(Table1, 'Issue Status' = "OPEN"),
TextSearchBox1.Text,
"Description","From_x0020_","Info_x002f__x0020_Action","Issue_x0020_Status"
),
"Date",
If(SortDescending1, Descending, Ascending)
),
SortByColumns(
Search(
Filter(Table1, 'Issue Status' = "CLOSED"),
TextSearchBox1.Text,
"Description","From_x0020_","Info_x002f__x0020_Action","Issue_x0020_Status"
),
"Date",
If(SortDescending1, Descending, Ascending)
)
)
Hope this is what you were looking for 