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 / Issue with concat expr...
Power Automate
Unanswered

Issue with concat expression

(0) ShareShare
ReportReport
Posted on by 6

So i'm trying to concat a number of responses to questions in a form and place each response on a separate line. I then create a Sharepoint list item with these responses. However if the response to any of the questions is 'No Change' then I do not want to record that response. I have put together the following expression which works as long as the response is anything other than 'No Change'. If any question is answered with 'No Change' then none of the responses after that question appear in my Sharepoint list item. I'm assuming that because where I replace the response 'No Change' with " there is nothing to concat with the next value?

 

If anyone can help with getting this expression correct I would be very grateful!

 

concat(if(equals(outputs('Get_response_details')?['body/r3ca32ce4791840e1981c17b6a86df5d6'],'No Change'),'',concat('Admin Folder Access: ',outputs('Get_response_details')?['body/r3ca32ce4791840e1981c17b6a86df5d6'],variables('New Line'),concat(if(equals(outputs('Get_response_details')?['body/rb7f40f4da96f44bf9367ddb85461ff0d'],'No Change'),'',concat('Applications Folder Access: ',outputs('Get_response_details')?['body/rb7f40f4da96f44bf9367ddb85461ff0d'],variables('New Line'),concat(if(equals(outputs('Get_response_details')?['body/r2d80ef2a0ee3458c85c2281ce78a527d'],'No Change'),'',concat('Audit Folder Access: ',outputs('Get_response_details')?['body/r2d80ef2a0ee3458c85c2281ce78a527d']))))))))))

Categories:
  • Sharon Sumner MVP / RD Profile Picture
    78 on at

    Hi

     

    That's quite the concat statement! You may find it easier to construct the concat without the IFs and then just perform a replace where 'no change' to ''

     

    Its easier to spot issues when you split up the working data set

     

    Sharon

  • MattT84 Profile Picture
    6 on at

    Thanks for the response. Yes i'm sure this is not the most efficient way of doing this 🙂

     

    Would you be able to give me an example of what you mean?

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 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard