I'm effectively building an inventory management app, and I'm essentially trying to emulate prompted cycle counts. I have an excel spreadsheet stored on SharePoint. My issue is the Gallery items.
I am running a filter and (for example) I want the filter to return any items for which the time between since the last count (a column in the spreadsheet) and today is at least a certain number of days, months, etc. I keep getting an error on the time format. I've tried running it with the text function in a couple of spots, I've tried changing the format settings for the cells in that column in Excel, but I can't seem to get it to work right again. I've also tried running the date format function (dateformat.longdate) but that doesn't help and/or getting an error that says longdate is invalid.)
So effectively I want my Items formula to be Filter(DataTable,ItemColumn,DateDiff(Today(),LastCountedColumn)>=7). I'll be building other conditions into my filter after but this is the one I'm struggling with right now.
I don't have the exact formula in front of me to share at the moment, but can share later if needed. Can someone please help me with how to make the date functions talk with my excel sheet column, and how to apply the >= logic if that is incorrect? TIA!