Xpath for last 6 months

0
Hi  I have the following xpath which works fine for finding attributes from the current month. [DateCIDReceived > '[%BeginOfCurrentMonth%]' I need Xpaths which give me  Last two weeks Prev month Prev 3 months  Prev 6 months   How do i do this?
asked
2 answers
0

Create a date variable in your microflow and use the date calculation functions to set the value you want. Use that variable in your XPath

answered
0

See this discussion on XPath math: 
https://forum.mendix.com/link/questions/6256

 

There are answers regarding the use of variables as well as a way to actually do the math right in an XPath constraint.

answered