Announcements
I am building a canvas app and use fields of the entity Cursussen on a screen. I've added a label that shows the total number of records in the entity, I've used the code Text(CountRows(Cursussen)). Then I get the error "Data returned by the service is invalid"
What am I doing wrong?
Hi @EllenHeijmans
I am able to replicate the issue mentioned by you. Can you try to update the expression to: Text(CountIf(Cursussen,true))
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Thanks @yashag2255, that works. But is there a reason why CountRows doesn't work? I've used it before, with no problems.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 356 Most Valuable Professional
11manish 225 Super User 2026 Season 2
Mohsin Ali 211