# Add row directly to a Dataset Tag

**URL:** <https://forum.inductiveautomation.com/t/add-row-directly-to-a-dataset-tag/6528>\
**Category:** Ignition\
**Created:** [May 19, 2013, 9:49pm UTC](https://forum.inductiveautomation.com/t/add-row-directly-to-a-dataset-tag/6528 "2013-05-19T21:49:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![caritoel27](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/caritoel27/32/3430_2.png) [@caritoel27](https://forum.inductiveautomation.com/u/caritoel27)\
**Post date:** [May 19, 2013, 9:49pm UTC](https://forum.inductiveautomation.com/t/add-row-directly-to-a-dataset-tag/6528/1 "2013-05-19T21:49:03Z")

</div>

Hi,

I write to you, to consult if it is possible to add a row in a dataset tag directly, and if so, how can I do to make this. 😐 Can you provide me help about this? I’ll be very grateful.  
Best regards

Carito

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [May 20, 2013, 10:24am UTC](https://forum.inductiveautomation.com/t/add-row-directly-to-a-dataset-tag/6528/2 "2013-05-20T10:24:02Z")

</div>

Datasets cannot be edited (they are ‘immutable’). What you have to do is read the current dataset, create a new dataset containing the old data and the new row, then write this new dataset to the tag.

There are helper functions to make this a bit easier. Have a look in the manual for system.dataset.addRow.

---

<div class="post-metadata">

**Author:** ![caritoel27](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/caritoel27/32/3430_2.png) [@caritoel27](https://forum.inductiveautomation.com/u/caritoel27)\
**Post date:** [May 20, 2013, 11:36pm UTC](https://forum.inductiveautomation.com/t/add-row-directly-to-a-dataset-tag/6528/3 "2013-05-20T23:36:59Z")

</div>

Thanks very much for the answer. 🙂 It was very useful.

Best regards

Carito
