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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors