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 / output statement and i...
Power Automate
Unanswered

output statement and if statment

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Greetings,

 

i have an Excel sheet from which i extract an array. Once i got that array i now need to look at one specific entry of that Array and compare that one entry to a given key. i tried solving that with the if statement and i think i understand how it works but i have no clue how i can get the output statement to give me the wanted entry.

 

if(equals(outputs('In_Tabelle_vorhandene_Zeilen_auflisten')?['body/value/Sachkontonr.'],12), '12345 , '0')
 
As you can see i try to compare the Sachkontonr. with 6520 on the row that the array is right now.
 
Bildschirmfoto 2023-06-06 um 11.30.19.pngBildschirmfoto 2023-06-06 um 11.31.09.png

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,511 Most Valuable Professional on at

    Hi @Anonymous,

     

    I see this update is in a loop. In that case you can also try to refer to the column by using the item function.

     

    Can you try this instead and see if that works?

     

    if(equals(item()?['Sachkontonr.'],12), '12345', '0')

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard