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 / AddColumns not working
Power Apps
Answered

AddColumns not working

(0) ShareShare
ReportReport
Posted on by
Good Evening,
 
I have the function ibellow n a Gallery Item property
AddColumns(
    WebsiteOrders;
    "SortColumn";
    LookUp(
        colWaypointOrder_Indexed;
        Index =
        LookUp(
            colOrders_Indexed;
            Address = ThisRecord.Address;
            Index
        );
        Value
    )
)
the the formula separator is (;). The mistake indicates on AddColumns word and on"SortColumn"; word. Thank you for your help in advance. 
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    You do not need quotes "" around the field name​​​​​​. Also this may be a better format
    With(
       {
          _Index:
          LookUp(
              colOrders_Indexed;
              Address = ThisRecord.Address
          ).Index
       },
       AddColumns(
          WebsiteOrders;
          SortColumn;
          LookUp(
             colWaypointOrder_Indexed;
             Index = _Index
          ).Value
       )
    )
     
    Please Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like
    Visit my blog
    Practical Power Apps    LinkedIn  

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard