# TEMPLATE REPEATER - Dataset - Problem on loading templates

**URL:** <https://forum.inductiveautomation.com/t/template-repeater-dataset-problem-on-loading-templates/54238>\
**Category:** Ignition\
**Tags:** ignition80, ignition81, vision, perspective\
**Created:** [December 17, 2021, 10:55am UTC](https://forum.inductiveautomation.com/t/template-repeater-dataset-problem-on-loading-templates/54238 "2021-12-17T10:55:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmiroclosa](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gmiroclosa/32/21572_2.png) [@gmiroclosa](https://forum.inductiveautomation.com/u/gmiroclosa)\
**Post date:** [December 17, 2021, 10:55am UTC](https://forum.inductiveautomation.com/t/template-repeater-dataset-problem-on-loading-templates/54238/1 "2021-12-17T10:55:21Z")

</div>

Hi everybody,  
I create a screen with Template Repeater element. I configure it as Dataset and throw all elements (from 1 to 30) on a row. (Note that the elements are Template elements.)  
The first template (1) throw incorrect values  
From 2 and go on templates are shown all correctly.  
But, the last element (30) doesn’t appear.

The index template is ok.

Any idea about how to select them correctly?¿

Thanks in advance,  
Guillem

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 17, 2021, 11:15am UTC](https://forum.inductiveautomation.com/t/template-repeater-dataset-problem-on-loading-templates/54238/2 "2021-12-17T11:15:28Z")

</div>

Please DON’T SHOUT in the question title. Can you edit it to proper case, please?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 17, 2021, 1:38pm UTC](https://forum.inductiveautomation.com/t/template-repeater-dataset-problem-on-loading-templates/54238/3 "2021-12-17T13:38:28Z")

</div>

Dataset rows are numbered from zero. So your rows would be 0-29, not 1-30. If you are misusing the index parameter, that would explain what you are seeing.

---

<div class="post-metadata">

**Author:** ![gmiroclosa](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gmiroclosa/32/21572_2.png) [@gmiroclosa](https://forum.inductiveautomation.com/u/gmiroclosa)\
**Post date:** [December 17, 2021, 2:47pm UTC](https://forum.inductiveautomation.com/t/template-repeater-dataset-problem-on-loading-templates/54238/4 "2021-12-17T14:47:24Z")

</div>

Hi pturmel,  
Thanks for your response. You’re right.  
I established the index parameter name, but I only could establish directly the template parameter text.  
My solution at the moment is:  
On the template parameter put the same item\_name that I’ve on the results of SQL query of Template Repeater → Template Parameters.
