# Default value dataset

**URL:** <https://forum.inductiveautomation.com/t/default-value-dataset/23594>\
**Category:** Ignition\
**Created:** [March 26, 2019, 7:23am UTC](https://forum.inductiveautomation.com/t/default-value-dataset/23594 "2019-03-26T07:23:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [March 26, 2019, 7:23am UTC](https://forum.inductiveautomation.com/t/default-value-dataset/23594/1 "2019-03-26T07:23:48Z")

</div>

How does a default dataset expression look like? I use a dataset as a parameter for a report and want to set this to a default value.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 26, 2019, 2:43pm UTC](https://forum.inductiveautomation.com/t/default-value-dataset/23594/2 "2019-03-26T14:43:26Z")

</div>

Unfortunately, there’s not really any way to construct a dataset in an expression. The simplest solution is to lodge your default value in a memory tag somewhere, and just reference that in the default parameter expression.

---

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [March 26, 2019, 3:45pm UTC](https://forum.inductiveautomation.com/t/default-value-dataset/23594/3 "2019-03-26T15:45:58Z")

</div>

Not really, but what do you mean by default? How complicated is it? If you just want something like a blank dataset with column names, you can do something like this:

```auto
runScript("system.dataset.toDataSet(['header1', 'header2', 'header3', 'header4'], [])"

```

If you need a line or two you could do that too in the same runScript function, but it may get a bit unweildy if you need to do too many there.
