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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Complex flow for extra...
Power Automate
Answered

Complex flow for extracting data

(0) ShareShare
ReportReport
Posted on by 14

Hi,

 

I have an Excel Sheet. It contains information about a the districts in different countries. It has Mainly three fields Country, States, and Districts. The country has different states, the state has different districts. The excel contains one record for each district. Now i want to import this data in SharePoint using Power automate flow in such a way that The data of countries goes to a list called "country" which is created on SharePoint without being duplicated. The data of states goes to a list called "state" with its country name as well. Here the state name is not to be duplicated. The data of districts goes to a list "District" with its country name as well as its state name. How can i do it in power automate.

Categories:
I have the same question (0)
  • Verified answer
    Matthy79 Profile Picture
    4,182 Super User 2024 Season 1 on at

    Hello @Govind_Prajapat ,

     

    „union“ can be your friend for this problem.

     

    I would read the excel sheet.

     

    List 3 is just apply to each.

    For list 1 and 2 you use select to select the fields you want and add a compose afterwards with the formula „union(YOURARRAY,YOURARRAY)“

     

    Instead of YOURARRAY you put in the output of the select action. After that you can apply to each and the 3 lists are ready.

  • Govind_Prajapat Profile Picture
    14 on at

    Hi @Matthy79 ,

     

    Thanks for your response.

  • Matthy79 Profile Picture
    4,182 Super User 2024 Season 1 on at

    Hello @Govind_Prajapat ,

     

    I thought I already did. Where do you have troubles? With the "select" or the "apply to each" or don't you know how to add items to a Sharepoint list. That would be "Create item".

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard