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 / Modern table control -...
Power Apps
Suggested Answer

Modern table control - Date format & lookup field issue

(2) ShareShare
ReportReport
Posted on by 102
Hello, 
 
I would like to use the modern table control in my canvas app using dataverse tables.
Contact and AccountID are lookup fields.
 
My first attempt
 
Formula
Search(Filter('Opportunity CRM',OpportunityStatus<>'OpportunityStatus (Opportunity CRM)'.Lost),TxtSearchOpportunities.Value,OpportunityID,OpportunityCandidate,OpportunityKey)
 
Result
Then I tried to solve date format issue by using the AddColumns formula
 
New Formula
Search(Filter(AddColumns('Opportunity CRM',DeadlineFormatted,Text(OpportunityDeadline,DateTimeFormat.ShortDate,"nl-BE")),
OpportunityStatus<>'OpportunityStatus (Opportunity CRM)'.Lost),TxtSearchOpportunities.Value,OpportunityID,OpportunityCandidate,OpportunityKey)
 
Result
By using the AddColumns formula, the lookup fields are empty now...
I would like to have 3x OK.
How can I solve this issue?
Thanks.
 
Kr
 
 
Categories:
I have the same question (0)
  • Suggested answer
    MichaelFP Profile Picture
    1,847 Moderator on at
    You need to put the filter inside the AddColumn() and not the inverse. Try that and will get all of the columns that you required.
  • timl Profile Picture
    36,634 Super User 2026 Season 1 on at
    Hi ThomasVDS
     
    I'd try wrapping AddColumns around the Search. That should hopefully work.
     
    AddColumns(
    
               Search(Filter('Opportunity CRM',OpportunityStatus<>'OpportunityStatus (Opportunity CRM)'.Lost),
                      TxtSearchOpportunities.Value,OpportunityID,OpportunityCandidate,OpportunityKey
               ),
               DeadlineFormatted,
               Text(OpportunityDeadline,DateTimeFormat.ShortDate,"nl-BE")
    )
     
  • Suggested answer
    ThomasVDS Profile Picture
    102 on at
    Thank you for your suggestions, but they did not work.
     
    Via the following formula the lookup fields are shown, I added them also in the AddColumns part
     
    Search(Filter(AddColumns('Opportunity CRM',DeadlineFormatted,Text(OpportunityDeadline,DateTimeFormat.ShortDate,"nl-BE"),AccountName,AccountID.AccountID,ContactName,OpportunityContact.ContactID),OpportunityStatus<>'OpportunityStatus (Opportunity CRM)'.Lost),TxtSearchOpportunities.Value,OpportunityID,OpportunityCandidate,OpportunityKey)
     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 101 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard