how to get previous week data on DataGrid

i want to know how get previous week data 
1 answers

Hi Pragathi,

You are not really specific in your question. 

One way to do it would be to use a microflow as your data source.

In this microflow create two date time variables: the first to hold the begin of the previous week (e.g. calculated as addWeeks([%BeginOfCurrentWeek%], -1))  and one to calculate the end of the previous week  addWeeks([%EndOfCurrentWeek%], -1). 

You can subsequently use these two variables in a x-path retrieve resulting in the list of objects within those boundaries.