web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Using Power Query to d...
Power Apps
Unanswered

Using Power Query to dynamically process CSVs from a SharePoint document library

(0) ShareShare
ReportReport
Posted on by 20

I have several Dataverse tables which are added to on a monthly basis (sometimes more). This is currently done by importing Excel files directly to the table in Dataverse after they're manually converted from CSV to Excel. I want to simplify this process as much as possible and have come up the follow proposal:

  1. Add the CSV files to a SharePoint document library - the library has a column which states which Table it's relevant to
  2. A Power Automate Flow then triggers once the item is added, and then triggers a relevant Dataflow
  3. Dataflow then starts and queries the relevant document library for the CSVs which have not yet been imported, it will then import the CSVs to the table
  4. Once complete, the Power Automate flow will then update a column on the SharePoint library with a value (e.g. 'Done')

For the solution I've proposed above, how can I create a dynamic query which only looks at files which match a certain criteria based on the column? (e.g. where the 'Done' column is blank). The file names will differ slightly from month to month, although the structure and layout will be the same.

 

In Power Query, I've managed to get as far as filtering just the relevant document library, which show me the files (currently three in there), but I want the ability to filter out based on several of the column values. How can I do this? It does give me the option to click into the files, and further query this but I don't want this to be absolutely queried (hope that makes sense!).

 

If anyone has any alternative proposals which they would recommend, happy to hear them. I'm still fairly new to Dataverse, Power Apps, and Power Automate. 

 

Thanks for any help!

20240403 202939.png
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard