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

Splitting sharepoint list items and creating html table

KnightWorks009_0-1637323829872.png

 

First table is a list in Sharepoint with two columns. I need to split each row item and create a table shown below based on delimiter 

1 ACCEPTED SOLUTION

Accepted Solutions
mahoneypat
Dual Super User
Dual Super User

I couldn't think of a more elegant way to do this, so did it brute force with 3 Apply to each actions.  Here is the output and overall flow.

mahoneypat_1-1637615623101.png

 

mahoneypat_0-1637615597467.png

 

Here are the expressions used at each step.  I made a compose action to simulate your input.

mahoneypat_2-1637615726972.png

 

input for ATE2 = split(item()?['Name'], ' | ')
 
input for ATE3 = split(items('ATE1')?['City'], ' | ')
 
And here is the input for the Append to array variable step inside ATE3
mahoneypat_3-1637615766655.png

 

Pat

 

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Dual Super User
Dual Super User

I couldn't think of a more elegant way to do this, so did it brute force with 3 Apply to each actions.  Here is the output and overall flow.

mahoneypat_1-1637615623101.png

 

mahoneypat_0-1637615597467.png

 

Here are the expressions used at each step.  I made a compose action to simulate your input.

mahoneypat_2-1637615726972.png

 

input for ATE2 = split(item()?['Name'], ' | ')
 
input for ATE3 = split(items('ATE1')?['City'], ' | ')
 
And here is the input for the Append to array variable step inside ATE3
mahoneypat_3-1637615766655.png

 

Pat

 

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,764)