Hi there,
I have a couple of CDS entities which I'm using to supply Power Apps. When I use the CountRows function I get an error advising "The data returned by the service is invalid". There are currently only 3 rows in the table so its not a delegation issue.
To troubleshoot, I have added the following to the Default Value of a Text Box which fails:
CountRows('Houses')
With Houses being the name of the Entity.
This works when I point to Entities which are auto generated by Power Apps, but does not work for my custom entities.
Your help is much appreciated.
Richard