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 / Virtual Table Column o...
Power Apps
Answered

Virtual Table Column on related table form

(0) ShareShare
ReportReport
Posted on by 781
 
 
I created a lookup column on a table to a column on a virtual table. I wanted to use the lookup column on the related tables form for the user to select a value(from the virtual table). It's showing as locked on the form, with some additional options in the properties. Are virtual lookup columns not allowed to be used in related tables forms? I saw this search restriction below in the doc, wasn't sure if it pertained to this or not.  IS there any way to do this?  
Thank you 
 
 
 
I have the same question (0)
  • Verified answer
    ctedesco3307 Profile Picture
    781 on at

    I also walked through these steps -- everything is set up correctly. Still seeing a lock on the field in the form 

     

    Here’s how you can use a Dataverse Virtual Table as a lookup column on a related table’s form in Power Apps / Dataverse.

     
     

    Key Points Before You Start

     

    • Virtual Tables in Dataverse are read-only representations of external data sources (SQL, SharePoint, API, etc.).

    • You can create lookup relationships between a virtual table and a standard/custom Dataverse table, but:

      • The virtual table must have a primary key and name column defined.

      • The lookup will be read-only because virtual tables are not writable.


      •  

    • The relationship must be created in Dataverse table designer (not directly in the form editor).


    •  
     
     

    Step-by-Step Guide

     

    1. Ensure Virtual Table is Configured Correctly

     

    • Go to Power Apps Maker PortalTables → select your virtual table.

    • Confirm:

      • Primary Name Column is set (this is what will display in the lookup dropdown).

      • Primary Key is mapped to a unique identifier from the external source.

      • Data is visible in the table (test by opening the table in Data view).


      •  


    •  
     
     

    2. Create the Lookup Relationship

     

    1. In Maker Portal, open the related table (the one where you want the lookup column).

    2. Go to Relationships+ Add relationshipMany-to-one (N:1).

    3. In the Related table dropdown, select your Virtual Table.

    4. Name the relationship (e.g., new_VirtualTableId).

    5. Save the relationship.


    6.  
     
     

    3. Add the Lookup Column to the Form

     

    1. Still in the related table, go to Columns.

    2. Find the lookup column created by the relationship (it will have the name you set).

    3. Open the Main Form for the related table.

    4. Drag the lookup column onto the form.

    5. Save and publish the form.


    6.  
     
     

    4. Test in a Model-Driven App

     

    • Open a record of the related table in your app.

    • The lookup field should now allow you to search and select records from the virtual table.

    • Remember: You can’t create or edit virtual table records from here — only select existing ones.


    •  
     
     

    Limitations & Tips

     

    • Read-only: You can’t update virtual table data from Dataverse.

    • Performance: Lookup search performance depends on the external data source speed.

    • Filtering: You can use view filters on the virtual table to limit lookup results.

    • Security: Access to the virtual table data is controlled by Dataverse security roles and the external data source permissions.


    •  
     
     

    Example Use Case:

    You have a SQL table of “Vendors” as a virtual table, and you want to select a vendor in a “Purchase Order” Dataverse table form. You create a lookup relationship from Purchase Order → Vendor (virtual table) and add it to the form.

     
     

    If you want, I can give you a diagram showing how the virtual table lookup relationship works in Dataverse so it’s easier to visualize.

    Do you want me to prepare that?

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

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard