Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have data set including following Columns
Transaction Date, Data Week, Qty
I want last data week total Qty
Thanks,
Vikas
Hi Vikas,
Anil solution is working fine,
have a look :
=Num(Sum({<MonthNum={'$(=Max(MonthNum))'},DataWeek={'$(=Max(DataWeek))'}>}Qty),'#,##0')
PFA,
Thanks,
Mukram.
May be this?
Max({<[DataWeek] = {$(=Max([DataWeek]))}, MonthNum = {'$(=Max(MonthNum))'}>}Aggr(Sum({<[DataWeek] = {$(=Max([DataWeek]))}, MonthNum = {'$(=Max(MonthNum))'}>} Qty)))
This will return as below in text box? 90084.26
My bad, Months and DateWeek should cover for Aggr()
Max({<[DataWeek] = {$(=Max([DataWeek]))}, MonthNum = {'$(=Max(MonthNum))'}>}Aggr(Sum({<[DataWeek] = {$(=Max([DataWeek]))}, MonthNum = {'$(=Max(MonthNum))'}>} Qty), Months, DataWeek))
Nope incorrect expression
I am attaching my data sheet and my App
Please check
I am attaching my data sheet and my App
Please check
Hi,
I am attaching my excel and app
What is your expected output in the sample provided? For latest week's data try:
Sum({<[DataWeek] = {$(=Max({<[Transaction Date]={"$(=Max([Transaction Date]))"}>} DataWeek))}, Month = {$(=text(Month(Max([Transaction Date]))))}>} InvQty)
90084.26 |
Try my above expression.