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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
GabAquino
New Member

Automation through Msft Flow or other extensions

Hi all,

I'm new to using powerbi and wanted to know if there were ways of doing the following in an automated way through Msft Flow or other extensions to:

  1. Append tables with similar columns
  2. Remove similar rows from appended tables
  3. Load / combine smaller CSV Files to a larger CSV file in Sharepoint with similar columns (To be done on a daily basis)

Challenges:

  • When I choose "Get Data" > Sharepoint Folder, it shows me all the files in the folder, and it is difficult to find the most recent file if done on a daily basis
  • I upload files manually, and append it to the larger CSV file through the Append Queries option, and choose "Remove Rows" > Remove Duplicates.
    • Is my data integrity affected when doing this?
    • Is there a faster way to do this?

Thank you all in advance!

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi  @GabAquino 

You could sort the Date created or Date modified column to find the most recent file.

https://medium.com/@wkrzywiec/getting-data-from-the-latest-file-in-a-folder-using-power-query-51dfa4...

 

For "choose "Remove Rows" > Remove Duplicates", it will keep the first row value row for each duplicate value, this won't consider other columns.

 

Regards,

Lin

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors