Hi there,
I hope someone could point me in the right direction?
I have been trying to filter and sort my gallery with 3 conditions but I am not able to figure out.
Basically this sketch shows the scenario:
I need to filter my gallery Based on the status "ideally a dropdown" plus based on an Agent "fixed value" and plus in a date picker.
Thanks in advance for any help.
BTW datasource is SharePoint.
Solved! Go to Solution.
Hi @sajarac ,
A bit of task keeping this (I hope) Delegable, but the below should be close
With(
{wDate:Today()},
SortByColumns(
AddColumns(
Filter(
TaskList,
Status = "Active" &&
Agent = "Jhon" &&
'Due Date' >= wDate || 'Due Date' = Blank()
),
"BlankDate",
'Due Date' = Blank()
),
"Due Date",
Ascending,
"BlankDate",
Descending
)
)
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.
Visit my blog Practical Power Apps
Hi @sajarac ,
A bit of task keeping this (I hope) Delegable, but the below should be close
With(
{wDate:Today()},
SortByColumns(
AddColumns(
Filter(
TaskList,
Status = "Active" &&
Agent = "Jhon" &&
'Due Date' >= wDate || 'Due Date' = Blank()
),
"BlankDate",
'Due Date' = Blank()
),
"Due Date",
Ascending,
"BlankDate",
Descending
)
)
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.
Visit my blog Practical Power Apps
Thank you, Thank you, Thank you!
🙂
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
180 | |
137 | |
96 | |
83 |