cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Query to get a range of data in between two item

The scenario is below:
The user able to input Item No A and Item No B in power app, it will trigger the power automate to retrieve all item data row between Item No A and Item No B from SQL Database.

Is that anyway to achieve this scenario? 
I thinking may use the row id which SQL Database auto assigned and retrieve data row in between two value, but I don't know how to write the query in the SQL connector.

Any help will be great, thanks. 

 

3 REPLIES 3
Super User II
Super User II

Hi @NeohLooi 

 

In your case, I would build a Stored Procedure that would take the values and do the query. Then you receive the values back to the Flow and back to Power Apps.

 

I've done this in the past, and it works great.

 

Would this be possible in your case?

 

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

Helper II
Helper II

It seem possible in my case, is that any guide on that?

It seem possible in my case, is that any guide on that?

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

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 (93,402)