# Show data in different pages of the report based on data key in dataSource

**URL:** <https://forum.inductiveautomation.com/t/show-data-in-different-pages-of-the-report-based-on-data-key-in-datasource/67615>\
**Category:** Ignition\
**Created:** [December 14, 2022, 3:32pm UTC](https://forum.inductiveautomation.com/t/show-data-in-different-pages-of-the-report-based-on-data-key-in-datasource/67615 "2022-12-14T15:32:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user66](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@user66](https://forum.inductiveautomation.com/u/user66)\
**Post date:** [December 14, 2022, 3:32pm UTC](https://forum.inductiveautomation.com/t/show-data-in-different-pages-of-the-report-based-on-data-key-in-datasource/67615/1 "2022-12-14T15:32:45Z")

</div>

Hi all,  
I created a data key in script of dataSource in report which looks like:

```auto
data['myKey']=['<html><b>abcd</b></html>','<html><b>efgh</b></html>',
'<html><b>ijkl</b></html>']

```

I'm trying to display this in textShape component of the report, but only one page is generated with the data of the first index ie. `<html><b>abcd</b></html>`

I want each instance of the data to be displayed on different pages when I view the report.  
The total number of pages generated should be equal to the number instances in the data key.

How can this be achieved ? or is there any workaround to do this?

---

<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 14, 2022, 3:44pm UTC](https://forum.inductiveautomation.com/t/show-data-in-different-pages-of-the-report-based-on-data-key-in-datasource/67615/2 "2022-12-14T15:44:34Z")

</div>

Use a dataset, not a python list. Use a table with an unstructured row section.

---

<div class="post-metadata">

**Author:** ![user66](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@user66](https://forum.inductiveautomation.com/u/user66)\
**Post date:** [December 15, 2022, 11:55am UTC](https://forum.inductiveautomation.com/t/show-data-in-different-pages-of-the-report-based-on-data-key-in-datasource/67615/3 "2022-12-15T11:55:27Z")

</div>

Thank you....Worked perfectly 😊
