cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
the_606
New Member

Filter sharepoint list from source

Hi all,

Is there a way to filter the data thats pulled from source (a sharepoint list) by date, i only want the last 6 months, but there is years of history in the list and its crashing my report due to its size.

 

= Source{[Id="dp67579c-3ea7-4f8c-a501-f8528r3fbb5a"]}[Items]

 

I currently have this but i wondered if i could put a date parameter at this stage rather than pulling it all in and then filtering it?

 

Is this possible?

 

Really appreciate any tips

1 REPLY 1
PaulOlding
Super User
Super User

Hi @the_606 

The term for this behaviour is query folding.

Whether it's possible or not depends on the source.  I don't use Sharepoint lists much but this link suggests it may be possible: https://docs.microsoft.com/en-us/power-query/power-query-folding 

 

In any case this is a Power Query function rather than DAX, so you may get a better answer in this forum:

https://community.powerbi.com/t5/Power-Query/bd-p/power-bi-services 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors