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 / Unknown or unsupported...
Power Apps
Answered

Unknown or unsupported function in Power Fx formula bar

(0) ShareShare
ReportReport
Posted on by 65

Hi all,

I am adding a custom button to the command bar in a model driven app. Certain functions (such as ClearCollect) in the formula bar give me the message:

'ClearCollect' is an unknown or unsupported function.

 

Using 'Patch' on the other hand works fine. As I type, Intellisense offers 'Patch' as a suggestion which I can accept and continue on.

 

According to the online documentation ClearCollect is valid for model driven apps. When I added the command button I chose Power Fx, not Javascript. My component library was built successfully. I have not been able to find any setting that I have missed, although I suppose that is still a possibility.

What am I missing?

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @kcward55 ,

     

    I'm afraid ClearCollect is not supported for with commanding in model-driven apps, cause clear and collect are not supported.

    vbofengmsft_0-1704763446645.png

    I think this link will help you a lot:

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/commanding-use-powerfx#functions-not-supported

     

    Best Regards,

    Bof

     

  • kcward55 Profile Picture
    65 on at

    Thanks for this information. Greatly appreciated.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard