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() won't all...
Power Apps
Answered

AddColumns() won't allow ModernTable.Selected Control to work on Forms

(1) ShareShare
ReportReport
Posted on by 23
Hello,
 
I added a new column for a Date to a modern table, because the date format is not allowed like this:
AddColumns(
    Project,
    Date,
    Text(
        Zuschalttermin,
        "dd/mm/yyyy"
    )
  )
and this adds an error to a ModernForm Control because Item doesn't recognize the ModernTable.Selected anymore.  Does somebody have had a similar problem and is there any solution?

Thank you and Kind regards!
Categories:
I have the same question (0)
  • Suggested answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    hey
     
    modern controls are still in preview and not really there to use in productive apps.
    to all of the issues with modern controls there is not really a solution
     
    try to do the same with classic ones.
     
    cheers if it helped please mark as verified answer
  • Verified answer
    timl Profile Picture
    37,248 Super User 2026 Season 1 on at
    Hi aqrj 
     
    The solution to this would be to modify the Item property of your ModernForm control so that it looks up the record based on the unique identifier of the record (for example, ID)
     
    The syntax would look like this:
    LookUp(Project,
           ID = ModernTable.Selected.ID
    )
     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard