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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
NadeemAhamed
Helper V
Helper V

fetching data from sharepoint gridview

Hello everyone.

 

i have added the month name in sharepoint gridview with respective to the files 

i does not contain the month name in files so i have added month name manually. 

can any one help me out how to bring the month name from sharepoint gridview with respective to the files while combining the multiple files.

 

NadeemAhamed_0-1726652994142.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from  Jonvoge and SamWiseOwl  , please allow me to provide another insight:

Hi, @NadeemAhamed 

Regarding the issue you raised, my solution is as follows:

If you are unable to quickly locate files using a SharePoint list, you might consider an alternative method by using a SharePoint folder:

vlinyulumsft_0-1726821371999.png

 

Please note that the URL you enter needs to point to the root directory after the site:

vlinyulumsft_1-1726821372001.png

For detailed information, you can refer to the documentation:

Power Query SharePoint folder connector - Power Query | Microsoft Learn

Power Query SharePoint list connector - Power Query | Microsoft Learn

 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Jonvoge
Super User
Super User

Hi NadeemAhamed

 

This is possible if you create two separate queries.

First, create a normal query with your Sharepoint Connector, and filter it down to the files you wish to connect to. Ensure that your Query shows the File Name:

Jonvoge_3-1726654968423.png

 

 

Second, create a new query, but connect to a Sharepoint List, and navigate to the Table containing your files. In my case, I connect to the documents table. This allows us to grab all the metadata about our documents:

Jonvoge_0-1726654802080.png

 

Now, expand the tables, and again filter down to get the files you are looking for. Make sure to expand the File property to expose the File.Name column, so that we now have the filename and manual column info:

Jonvoge_1-1726654918614.png

 

Finally, Join this second query on the first using the filename, to get a merged query with both the document contents, and the metadata info needed:

Jonvoge_2-1726654957074.png

 

I've also uploaded a pbix file with the Power Query, but it will of course not load for you as it uses my Sharepoint Site.

_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data

When i am trying to fetch the file name by using the SharePoint list 

List of lifes are coming which we have outsite the folders

but i have saved my files inside the folders so iam not able to find the particular files

Anonymous
Not applicable

Thanks for the reply from  Jonvoge and SamWiseOwl  , please allow me to provide another insight:

Hi, @NadeemAhamed 

Regarding the issue you raised, my solution is as follows:

If you are unable to quickly locate files using a SharePoint list, you might consider an alternative method by using a SharePoint folder:

vlinyulumsft_0-1726821371999.png

 

Please note that the URL you enter needs to point to the root directory after the site:

vlinyulumsft_1-1726821372001.png

For detailed information, you can refer to the documentation:

Power Query SharePoint folder connector - Power Query | Microsoft Learn

Power Query SharePoint list connector - Power Query | Microsoft Learn

 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SamWiseOwl
Super User
Super User

Hi @NadeemAhamed 

Have you already done the Folder connector part?

Assuming you have your query will have multiple steps including Remove Columns you need to edit these:

SamWiseOwl_0-1726654490191.png

Click on the cog logo next to the steps and tick the column you want to keep:

SamWiseOwl_1-1726654536942.png

Hope this helps!

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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