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 / Copilot Studio / Why do I keep getting ...
Copilot Studio
Unanswered

Why do I keep getting errors in my powerfx formula

(0) ShareShare
ReportReport
Posted on by 8

Not sure what im doing wrong here. I am new to PowerFX language as it is needed for copilot studio and I am just trying to access a variable created from an HTTP request above, and filter it. The variable Transcript is a json object holding the ActivitySet object (my conversation hisotry with chatbot) so it is an object holding an array of objects. my powerfx formula is attempting to filter it and create a list of type string holding only the from.name and text fields.

 

Concatenate(
    ForAll(
        Filter(
            Topic.Transcript.activities,
            ThisRecord.type = "message"
        ),
        ThisRecord.from.name & ": " & ThisRecord.text & Char(10)
    )
)

Screenshot 2024-02-21 111139.png

Categories:
I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

    You don't need to use "ThisRecord" to access the payload. Here is a discussion on the same topic with an example: Solved: I want to retrieve user bot conversations using di... - Power Platform Community (microsoft.com)

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 > Copilot Studio

#1
Valantis Profile Picture

Valantis 133

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 36 Super User 2026 Season 1

Last 30 days Overall leaderboard