Hi all. I have a PowerApps with a SharePoint list as a data connection. Thanks to a great video from Reza Dorrani I have made a filter to a gallery based on a date range. That works just fine. What I need to do is to filter those items where Modified is greater than Created. I have converted the Created and Modified data to numbers like "yyyymmddhhmm" and it looks like this 202103311233.
I need a filter that only gives me the Items that a modified in a given date range, and where the created number is less that the modified number. As you can see on this picture the filter returns itmes where the created and modified number is equal, but I need to only show the items where the modified number is greater than the created number. How can I acchieve this?
Thanks in advance
/Frank
Solved! Go to Solution.
Hi @venseben ,
I don’t think you need to convert it to "yyyymmddhhmm".
Please see the steps below.
1\ This is my list 'LIST105'.
2\ Add 2 DatePicker control. 'DatePicker1' and 'DatePicker2'.
3\ Add a gallery control and set its Items property to:
Filter(AddColumns(LIST105,"Test",Modified),Created<Modified,Modified<=DatePicker2.SelectedDate,Modified>=DatePicker1.SelectedDate)
4\ The result is as follows:
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
Hi @venseben ,
I don’t think you need to convert it to "yyyymmddhhmm".
Please see the steps below.
1\ This is my list 'LIST105'.
2\ Add 2 DatePicker control. 'DatePicker1' and 'DatePicker2'.
3\ Add a gallery control and set its Items property to:
Filter(AddColumns(LIST105,"Test",Modified),Created<Modified,Modified<=DatePicker2.SelectedDate,Modified>=DatePicker1.SelectedDate)
4\ The result is as follows:
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.