In this table, how to filter out the data ONLY for the latest week from this table?
The Week number for the latest week is always the biggest number, in this example, it should be Week 1724 (Year 17, WK24)
Please note that the week number in this table is not the regular calendar week and it only updates when there is a record, and it update by daily, so I will never know the biggest week unless pulling out every data..
Is it possible to just pull out the latest week only under "in database" ? if not, what is the best solution?
Week | Category | OH QTY |
1702 | Apple | 100 |
1702 | Orange | 200 |
1715 | Banada | 450 |
1715 | peach | 500 |
1724 | Grape | 1000 |
1724 | Apple | 840 |
Thank you.