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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MirandaJ
Regular Visitor

Pulling data from last 6 months

Hi, I've created a query that will retrieve data from SharePoint and then will create a dashboard with that data. However, this dashboard eventually will be huge and I only want to retrieve the last 6 months of data, including today's date, starting from a column called Admission Date.

 

For example, a row on any given file on that SharePoint has X Admission Date, so if that date is beyond 6 months from today, that data will not be pulled into my dashboard. Hence, everything with an Admission Date within 6 months from today, will be pulled.

 

The caveat here is that TODAY's date will always be dynamic.

 

Sorry I cannot provide my dashboard since it's confidential data

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

vicky__0-1709070536475.png

If you go into PowerQuery, there's an option to just load data that is from the last n months.

View solution in original post

1 REPLY 1
vicky_
Super User
Super User

vicky__0-1709070536475.png

If you go into PowerQuery, there's an option to just load data that is from the last n months.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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