web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AddColumns() won't all...
Power Apps
Unanswered

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,605 Super User 2025 Season 2 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
    36,383 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard