cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors