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 / 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?

Captura de pantalla 2024-10-15 184525.png
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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard