count records
Can a UIField be used to count the number of records selected in a query? The first record would be "1", the second "2", the third is "3" etc.
Best Answer

See this post on {{Index}}.
the first row is 0 so you may want to do {{Index}} +1 in your formula
https://community.skuid.com/discussion/7674111/displaytherownumberinskuidtable
0
Answers

{{$Model.INSERT_MODEL_NAME_HERE.data.length}}
would give you a count of all the rows in a model if you use it in a template/rich text/text or UI formula.
0 
Thanks Raymond.
That give me the total records selected.
The "Number" field is an UIOnly field with your formula. I would like the first record "Number" to be "1". If there were 3 records. then the "Number" would show "3".
1 
Raymond  you are the best! Thanks for the multiple good answers.
1 
Thanks Raymond
1
Howdy, Stranger!
Categories
 9.2K All Categories
 8K Questions
 928 Ideas
 243 Discussion Categories
 185 General
 9 Community Feedback
 6 Community Info
 26 Knowledge Base