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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
pborah
Continued Contributor
Continued Contributor

Limit table data import to last 7 days only?

I'm importing SQL tables for a report published on server and it is set to refresh every 10 minutes. I want it to look for data from only the last 7 days every refresh. Is this possible to set up when importing the data in desktop? Thank you.

1 ACCEPTED SOLUTION
pborah
Continued Contributor
Continued Contributor
3 REPLIES 3
amitchandak
Super User
Super User
pranit828
Community Champion
Community Champion

Hi @pborah 

 

I would use parameters for this requirement.

Check thes links

https://docs.microsoft.com/en-us/powerquery-m/understanding-power-query-m-functions

https://www.youtube.com/watch?v=7TfV8qTUyfU





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
pborah
Continued Contributor
Continued Contributor

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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