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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / get data using get row...
Power Automate
Unanswered

get data using get rows in sql server power automate

(0) ShareShare
ReportReport
Posted on by 42

Hello,
I want to get rows (sql server) action to get data in power automate. Output column data is 
"X_Intake_Forms": "Floor: 09\n\nUnit: 04\n\nBuilding Name (Optional): Fernwood Towers"

hninyuaung_0-1698940759998.png


I want to get data from this column like 
Floor is 09
Unit is 04 

Building name is Fernwood Towers
How can I do it?

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    on at

    Hi , @hninyuaung 

    According to your description, you want to convert the "Floor: 09\n\nUnit: 04\n\nBuilding Name (Optional): Fernwood Towers" to :

    Floor is 09
    Unit is 04 

    Building name is Fernwood Towers

     

    Here are the steps you can refer to :
    (1)This is my test json to test by creating in the compose action:

    json('{
    "body":{},
    "value":[{
    "X_Intake_Forms" : "Floor: 09\n\nUnit: 04\n\nBuilding Name (Optional): Fernwood Towers"
    }]
    }
    ')

    vyueyunmsft_0-1698975971747.png

    (2)We can use this code to split this Text by '\n\n':

    vyueyunmsft_1-1698976070360.png

    split( outputs('Compose')?['value']?[0]?['X_Intake_Forms'], decodeUriComponent('%0A%0A') )

     

    vyueyunmsft_2-1698976090136.png

    (3)Then we can use the "Select" action to convert this array to the new array we want to like this:

    vyueyunmsft_3-1698976212199.png

    concat(split(item(),':')[0],' is',split(item(),':')[1])

     

    The result is as follows:

    vyueyunmsft_4-1698976232409.png

     

     

    If I misunderstand what you mean, you can describe your needs and your expected outcomes in detail so that we can better help you.


    Best Regards,

    Yueyun Zhang

     

     

     

  • hninyuaung Profile Picture
    42 on at

    Hello Yueyun Zhang,
    It is working.
    Thanks

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard