Forum Discussion

tulasi_pbi1988's avatar
5 years ago

Every Sunday INV value

Hi,

 

I need to calculate Weeks of Inventory. Which logic is (last Sunday value)/avg(last 4 Sunday's value)

Could you please help me to get last Sunday's value? My data is the date-level granularity and I need to consider only every Sunday values.

 

as in the below image, I need to calculate (189118738- last Sunday)/avg(last 4 Sundays value highlighted)

 

 

1 Reply