Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Fixed Date, Dynamic Year - Date Filtering Woes

Hello!   It's me again with another date conundrum.   What I want to do is filter a range of data based on its date.  For example, I want to filter out anything from 1st April of the previous yea...
  • Greg_Deckler's avatar
    Greg_Deckler
    6 years ago

    Anonymous - Try ditching your Date.From, I don't see why you need that. Also, you need () on your .LocalNow

     

    #"Filtered Rows" = Table.SelectRows(#"Changed Type", each [Date] >= Date.AddMonths(Date.StartOfYear(DateTime.LocalNow())),-9)