# Yet another Perspective Table data to file export question

**URL:** <https://forum.inductiveautomation.com/t/yet-another-perspective-table-data-to-file-export-question/87039>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 8, 2024, 2:53pm UTC](https://forum.inductiveautomation.com/t/yet-another-perspective-table-data-to-file-export-question/87039 "2024-03-08T14:53:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![msteele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/msteele/32/77889_2.png) [@msteele](https://forum.inductiveautomation.com/u/msteele)\
**Post date:** [March 8, 2024, 2:53pm UTC](https://forum.inductiveautomation.com/t/yet-another-perspective-table-data-to-file-export-question/87039/1 "2024-03-08T14:53:13Z")

</div>

I have a table in Perspective where data is bound to an array at `view.custom.tableData` which contains records formatted like the snippet at the end.

Do I need to convert this dataset type before I can use `system.dataset.toExcel()`? I'm getting nothing from this.

Button onActionPerformed:

```python
def runAction(self, event):
	dataset = self.view.custom.tableData
	download = system.dataset.toExcel(1, dataset, "All")
	
	system.perspective.download("Inventory.xlsx", download)

```

Example record in dataset `view.custom.tableData`...

```python
[
  {
    "IsWS": false,
    "Online": true,
    "NameRegister": 101,
    "nodeID": "001",
    "deviceID": "Trk01"
  }
  ...
]

```

---

<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:** [March 8, 2024, 3:08pm UTC](https://forum.inductiveautomation.com/t/yet-another-perspective-table-data-to-file-export-question/87039/2 "2024-03-08T15:08:09Z")

</div>

Yes, because lists of objects are not datasets. Consider supplying the table with a true dataset for `props.data`.
