cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BenDonahue
Skilled Sharer
Skilled Sharer

Assigning a value to a variable via expression accessing value from Excel table

Goal:
Access a value from a table in Excel and assign it to a variable of type integer.
 
How I am trying to do it:
List rows present in a table, then
Compose to access last row in the table, then
Initialize a variable to equal a column in that row
 
The Flow:
anotated fail code.png
 
Flow Fail:
anotated flow fail messages.png
 
I tried to break the process into two steps:
Step 1: assign the value to variable as string
Step 2: assign that string value to another variable, re-cast as an integer, like so:
string to re-cast as integer.png
 
5 hours trying to accomplish this very simple task.
 
Your help is very appreciated.
1 ACCEPTED SOLUTION

Accepted Solutions
ChristianAbata
Community Champion
Community Champion

your compose @BenDonahue  needs to be an expression. 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

1 REPLY 1
ChristianAbata
Community Champion
Community Champion

your compose @BenDonahue  needs to be an expression. 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,279)