Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to create a new file from a SharePoint list with condition

(0) ShareShare
ReportReport
Posted on by

Hello, It's my first flow with Power Automate.

 

I have a Sharepoint list with two columns : 

 

XID
A,#B

1

A,#B,#C,#D

2

 

I would like to split the column and create a list sharepoint or Excel file as follows:

 

XID
A1
B1
A2
B2
C2
D2

 

I don't know if this is possible? Thank's in advance

  • SoufTC Profile Picture
    on at
    Re: How to create a new file from a SharePoint list with condition

    @v-bofeng-msftThank's a lot it works 🙂

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: How to create a new file from a SharePoint list with condition

    Hi:

    OK.I get it.Please try this flow:

    1\My data source

    1.JPG

    2\My flow

    2.JPG

    Best Regards,

    Bof

  • SoufTC Profile Picture
    on at
    Re: How to create a new file from a SharePoint list with condition

    Hi @v-bofeng-msft !

     

    First thank you very much for your answer it's very nice of you.

     

    X is a multiple choice answer,  I think that's why I have this error 

    Capture.PNG

  • v-bofeng-msft Profile Picture
    on at
    Re: How to create a new file from a SharePoint list with condition

    Hi @SoufTC :

    Could you tell me:

    • What is 'X''s datatype?Is it a 'single line of test' column.

    If so,the point is to use the 'Split' function.I've made a test for your reference:

    1\My DataSource

    1.JPG2.JPG

    2\My Flow

    3.JPG

    Reference Expressions:

    1\

    split(items('Apply_to_each')?['Title'],',#')

    2\

    items('Apply_to_each_2')
    The Result:
    5.JPG
    Best Regards,
    Bof

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow