Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Dinamic Filter by Year

Hello everybody,

 

I want filter my datatable, for keep only data of the year (N-5) to today. 

 

Thank ! 

 

  • Hey,

     

    sure, this is already implemented in Power Query.

    Choose the "In the previous" filter for the desired column:

     

    And afterwards change it to the previuos 5 years:

     

     

    This should give you the result you want.

     

    If you need any help please let me know.
    If I answered your question I would be happy if you could mark my post as a solution βœ”οΈ and give it a thumbs up πŸ‘

    Best regards
    Denis

    Blog: WhatTheFact.bi
    Follow me: twitter.com/DenSelimovic

1 Reply

  • selimovd's avatar
    selimovd
    Most Valuable Professional

    Hey,

     

    sure, this is already implemented in Power Query.

    Choose the "In the previous" filter for the desired column:

     

    And afterwards change it to the previuos 5 years:

     

     

    This should give you the result you want.

     

    If you need any help please let me know.
    If I answered your question I would be happy if you could mark my post as a solution βœ”οΈ and give it a thumbs up πŸ‘

    Best regards
    Denis

    Blog: WhatTheFact.bi
    Follow me: twitter.com/DenSelimovic