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

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 Super User 2025 Season 2 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,328 Super User 2025 Season 2 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

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 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard