I know you can create a basic view to do this, but what I really need is a query in the XSLT Data View that will show all the records where @Status = ‘Open’ and @Created < 30 days ago.
I intend on displaying a chart that shows the count of how long tasks have been sitting in the pipe without being worked on. So, what I did was created an XSLT Data View that filters the data source to only pull out items that are still Open. Then in the xsl, I just want to do something like:
<xsl:variable name="THIRTYdaysCount" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Created) < $THIRTYdays])" />
I don’t think that will work because the data needs to be formatted and I cant get $THIRTYdays to work either. Anyone able to show me an example on how I should be doing this?
I went with a really ugly date to string and compare method: