cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi:

OK.I get it.Please try this flow:

1\My data source

1.JPG

2\My flow

2.JPG

Best Regards,

Bof

View solution in original post

4 REPLIES 4
Community Support
Community Support

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

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

Community Support
Community Support

Hi:

OK.I get it.Please try this flow:

1\My data source

1.JPG

2\My flow

2.JPG

Best Regards,

Bof

View solution in original post

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

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (19,571)