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 Apps / Error in Power Apps fo...
Power Apps
Suggested Answer

Error in Power Apps formula

(1) ShareShare
ReportReport
Posted on by 4
Hi, I've been having trouble with this Power Apps formula, I'm starting to learn how to create apps, and trying to create a questionnaire with SharePoint as well as following a tutorial. However, it seems to give a syntax error
This is the formula I'm using
 
 

ClearCollect(

    colQuestions,

    ShowColumns(

        AddColumns(

            Questions,

            "Answers",

            Table(

                {Answer: ThisRecord.Option1},

                {Answer: ThisRecord.Option2},

                {Answer: ThisRecord.Option3},

                {Answer: ThisRecord.Option4}

            )

        ),

        "Title",

        "Answers"

    )

)

I don't know what the error is. If anyone knows the solution or what I might be doing wrong, I would really appreciate it.
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at
    Hi,
     
    If you look at the Stethoscope in the top right, it should have a red dot like the one below. Click it and find the Screen that the error is on, and it will list all the errors. Before I just say what the issue is, I want you to find the error, and review it, bring it back here after you tried to resolve it and I'll help you resolve it.
     
     
  • Suggested answer
    ohartzer Profile Picture
    4 on at
    Hi,

    just remove the " " from the column names.
     

    ClearCollect(

        colQuestions,

        ShowColumns(

            AddColumns(

                Questions,

                Answers,

                Table(

                    {Answer: ThisRecord.Option1},

                    {Answer: ThisRecord.Option2},

                    {Answer: ThisRecord.Option3},

                    {Answer: ThisRecord.Option4}

                )

            ),

            Title,

            Answers

        )

    )

    Happy low-coding
     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard