# Nested query issue in reports

**URL:** <https://forum.inductiveautomation.com/t/nested-query-issue-in-reports/69770>\
**Category:** Ignition\
**Created:** [February 13, 2023, 11:34am UTC](https://forum.inductiveautomation.com/t/nested-query-issue-in-reports/69770 "2023-02-13T11:34:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman\_sharma](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@aman\_sharma](https://forum.inductiveautomation.com/u/aman_sharma)\
**Post date:** [February 13, 2023, 11:34am UTC](https://forum.inductiveautomation.com/t/nested-query-issue-in-reports/69770/1 "2023-02-13T11:34:53Z")

</div>

As i created nested queries in report and but i didnt get the

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [February 13, 2023, 3:11pm UTC](https://forum.inductiveautomation.com/t/nested-query-issue-in-reports/69770/3 "2023-02-13T15:11:15Z")

</div>

When troubleshooting anything involving datasources in a report, the first thing is to check the right column of the Preview tab. This shows the data that's coming back, in XML format. If the data is correct in the XML, the problem is in your report design, often in associating datakeys with components. If the data is incorrect or missing, either there's an issue with your datasource setup or you need to try again without the preview limit.

---

<div class="post-metadata">

**Author:** ![AYOMIKUN\_ORUKOTAN](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@AYOMIKUN\_ORUKOTAN](https://forum.inductiveautomation.com/u/AYOMIKUN_ORUKOTAN)\
**Post date:** [July 24, 2023, 2:06pm UTC](https://forum.inductiveautomation.com/t/nested-query-issue-in-reports/69770/4 "2023-07-24T14:06:16Z")

</div>

Have you solved this problem? How does the structure of the Flow subquery looks like and the internal sub query as well? Can you share a screenshot of that as well?
