Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

View in Model Driven app not showing all records from Virtual Table

We've started using Virtual Table. The table has existed in Azure SQL and we needed to see it in our Model Driven app. So we followed the following step precisely, got ready to see records from a virtual table, and what we saw is such a disappointment!


Please take a look at this image.    virtual_entity_record_showing_only_one.png


There is no modification to view's filter criteria. The number of records in the bottom is absolutely correct. (We did select count on the table in Azure SQL).  We expect to see 25 records in this screen but the view shows only one record from Virtual Table.  


This is very puzzling. 


Can someone guide us how to troubleshoot?



Solution Sage
Solution Sage

Hi @bs-dev001 ,


Have you tried to check the records from advanced find/web api/c# console application apart from views?




I don't know what advanced find/web API and so on that you are referring to.  But from the Data tab, more records are visible.   This could be a view issue but I am sure nothing is applied to the view filter.



Solution Sage
Solution Sage

Hi @bs-dev001 ,


Have you tried creating new view to see if data appears?


Steps to create new view from maker portal - 

Login to then Select Data ->Tables->Select your table->Views


Click on Add View button from top ribbon-> Give name and description -> Select Create ->

Add columns based on your need ->Save and Publish your changes


Would you be able to share scrrenshot of your View from Modern Designer?



Bipin Kumar
Follow my Blog:

Kudos and Accept my answer if helpful!

created a view from maker portal.  still shows only one record.  this is the weirdest thing I've experienced in Power Platform. @bipinshan 


Frequent Visitor

hi i've the same problem... just this afternoon making the app.

Still using virtual entities from sql (on premise gateway connector).

If i edit  the view in "classic mode" i can see all the records (see attachment)

@bipinshan is this a bug in view?

Frequent Visitor


I have read in some supporting documentation that the cause could be the fact that the virtual table does not have the primary key in the data source

Advocate I
Advocate I

@apellizzari @bipinshan 

We've deleted everything and created a virtual table again using Virtual Connector Provider although it states "Preview"


It did not allow us to specify primary key at Step11.  The behavior was that as soon as "Create or Refresh Entity" was switched to Yes "Primary field of the Virtual Entity" was populated with option values.  There is no primary key field in Option.  This is very very puzzling.


We ended up following the path of what this original article says


and noticed in the very last part it says

  1. You are seeing only one (1) record in your virtual table even though you have more in your source table.

    Solution: Check your source table and make sure it has primary key defined.

i think this is the documentation @apellizzari read.

Simply put, this needs more elaboration.  The primary key in the source table needs to be GUID.


so for us, adding a new primary key column with GUID type solved the problem.

Frequent Visitor

hi @bs-dev001 , @bipinshan 

I entered the GUID in the sql table and it seems to be firing.

The thing I can't understand is why, at this stage it only proposes fields of "text" and not the keys that have been defined in the table ..
I have no idea how to behave

from the document:

"...Set the Primary field of the virtual entity by select the appropriate column name listed. The drop-down lists all the columns of datatype string (nvarchar) that are eligible to be used as the primary field for the virtual table."

In my case the field listed below isn't a primary field 



Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (2,451)