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 / Using lookup column on...
Power Apps
Suggested Answer

Using lookup column on Modern Data Table

(0) ShareShare
ReportReport
Posted on by 2

I am trying to use the modern data table control in Power Apps, but I have an issue.

In my Dataverse Table, I have a Lookup-type column, which by default shows me the column (ID_RL). However, I need to display the "norma" column.

By default, the data table loads the query in the FieldName field with the query "crb4b_Requisito_Legal".

I tried modifying it in the following ways without success:

1. crb4b_Requisito_Legal.norma
2.
ThisItem.Requisito_Legal.Norma


How could I display the column I need and not the default column?

Categories:
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    Assuming you are trying to display, in the table control, a different column from a related Dataverse table using the default lookup column.
     
    Here's how you can do it, modify and paste the below code in Table Items property:
    With(
        {Records: DataverseTable},
        AddColumns(
            Records,
            NewColumnName,
            DefaultLookUpColumn.RequiredColumn
        )
    )
     
    It works for me, hope it works you.
     
    Kind regards, 
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
  • CU15102336-0 Profile Picture
    2 on at
    tks

    Nandit,

    This worked partially. In the table, I now have the option to include the column I want, but this affected a form I use to input or display the table's information, where I have the items defined as: Table3.Selected

    which is the table in which we modified the query as you suggested. It seems the lookup relationship or something similar is being lost.


    I put the info of the table3.selected in a variable the result is show in the image. 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard