Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
amyod
Frequent Visitor

Excluding future dates from power query

I'm a new user and am working with a date set that contains future dates (e.g. through December 2021). I want to exclude data points associated with future dates from my PowerQuery (e.g. any dates after today's date) and I am lost about the code. Any help would be greatly appreciated!

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi @amyod 

In Power Query you can add a setp where you can filter the column date Before Today

aj1973_0-1625148226242.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

3 REPLIES 3
amyod
Frequent Visitor

Thank you! And will that setting refresh automatically with future dataset refreshes?

aj1973
Community Champion
Community Champion

Welcome

What is applied in Power Query is a reflection to what is happening in the Service. So if you don't want to see future dates in Power Query then you won't see it in Service

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

aj1973
Community Champion
Community Champion

Hi @amyod 

In Power Query you can add a setp where you can filter the column date Before Today

aj1973_0-1625148226242.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.