Forum Discussion

prashantg364's avatar
prashantg364
Helper II
3 years ago
Solved

Filter rows

I have a data set as shown below.
I want to filter my date between 10-04-23 00:00 to 10-04-23 23:59 and keep the rows.
how can I do this??

Work OrderWork Order Date
WO110-04-2023 04:35
WO210-04-2023 10:00
WO310-04-2023 12:00
WO410-04-2023 15:30
WO510-04-2023 19:30
WO610-04-2023 20:00
WO710-04-2023 22:00
WO809-04-2023 10:00
WO908-04-2023 09:00
WO1007-04-2023 22:00
WO1109-04-2023 11:00
WO1208-04-2023 15:00
WO1307-04-2023 23:00
WO1409-04-2023 08:00
WO1508-04-2023 16:00
WO1607-04-2023 17:00
  • ERD's avatar
    ERD
    3 years ago

    prashantg364 , if you need to use Summarize function, here is the code that might work for you:

    Table 2 =
    SUMMARIZE (
        FILTER (
            'Table',
            DATEVALUE ( 'Table'[Work Order Date] ) = DATE ( 2023, 04, 10 )
        ),
        'Table'[Work Order],
        'Table'[Work Order Date]
    )

     

8 Replies