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
Super User
Super User

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
Super User
Super User

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,184)