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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
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.

March2025 Carousel

Fabric Community Update - March 2025

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