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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Solution Sage
Solution Sage

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.