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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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