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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get line number of a s...
Power Automate
Answered

Get line number of a sql server table but return true on power apps.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I use flow to get the row number of the table in sql server and return it to power apps. But I got a boolean variable.

Power application program interface:

Zhangcy_0-1595476441868.png

Power automatic interface:

Zhangcy_0-1595483087219.png

 

 

 

Categories:
  • Verified answer
    manuelstgomes Profile Picture
    6,643 on at

    Hi @Anonymous 

     

    English, please! 

     

    Google Translate tells me that:

    "I use flow to get the row number of the table in sql server and return it to power apps. But I got a boolean variable.
    Power application program interface:

    Power automatic interface:"

     

    I think, in SQL Server, you have to name the count (select count(*) 'TotalValue' from OrderData) to get a name in JSON that you can refer to.

     

    The Run is a boolean because it will only indicate that the run was successful or not.

     

    Here's a tutorial in how to get data back to Power Apps:

    https://flow.microsoft.com/en-us/blog/return-data-to-powerapps/

     

    I hope this helps.

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @manuelstgomes 

    Sorry, my mistake. I write it in English.However,i accidentally click the button "Translate the page".

     

    Thank you very much.It works.

     

    I'm grateful for you to look at my problem so patiently,sincerely.

  • manuelstgomes Profile Picture
    6,643 on at

    Hi @Anonymous 

     

    No worries. I'm glad that Google Translate exists otherwise I wouldn't be able to help you :).

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard