Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

how to filter out the biggest number "in database"

$
0
0

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? 

WeekCategoryOH QTY
1702Apple100
1702Orange200
1715Banada450
1715peach500
1724Grape1000
1724Apple840

 

Thank you.

 

 

 

 


Viewing all articles
Browse latest Browse all 4999

Trending Articles