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 / Array Find and Replace
Power Automate
Unanswered

Array Find and Replace

(0) ShareShare
ReportReport
Posted on by 14

Greetings. I'm trying to use an Array to collect counts of Yes and No answers. I know how to use the Filter Array to find the item (Question No), but I don't know how to then increase/replace either the associated AnsYes or AnsNo. My Array looks like this:

[

{"QuestionNo": 1,"AnsYes": 1,"AnsNo": 4},

{"QuestionNo": 2,"AnsYes": 3,"AnsNo": 2},

{"QuestionNo": 3,"AnsYes": 5,"AnsNo": 8},

]

For example (using the data above), I'd like to find Question 3 and update AnsYes to 6.

Categories:
  • VictorIvanidze Profile Picture
    13,083 on at
  • IMACIO Profile Picture
    14 on at

    Thank you for your response. 

    Hmm... interesting. LOL So, this is why I couldn't find a good solution.

    Is there a better way to collect a count of yes and no answers based on about 335 questions - I'm having to loop through a table to pull out the responses? That is a lot of variables to hard code otherwise.

  • VictorIvanidze Profile Picture
    13,083 on at

    Please wait a day or two - I hope I'll provide you a link.

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 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard