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
barbforsman
Resolver I
Resolver I

Edit data source based on date

I have just come from Summit 17 where I learned you can limit the data source when you originally connect to it based on the date, e.g. only pull in records created after 12/31/2015.  

 

I wish I'd learned this 3 months ago, but unfortunately I have pulled in our entire salesorders table from Dynamics 365 online.  Is it too late, or is there a way to edit the query so the older records (pre-2016) get excluded?

 

Where & how would I do this?

 

Many thanks in advance!!

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @barbforsman,

 

I think you can take a look at power query dynamic date filter, it may suitable for your requirement.

 

Using dynamic parameter values in Power Query Queries

Best way to dynamically filter date table in Power Query

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @barbforsman,

 

I think you can take a look at power query dynamic date filter, it may suitable for your requirement.

 

Using dynamic parameter values in Power Query Queries

Best way to dynamically filter date table in Power Query

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.