# Chart in report is ignoring grouping

**URL:** <https://forum.inductiveautomation.com/t/chart-in-report-is-ignoring-grouping/74579>\
**Category:** Ignition\
**Created:** [June 5, 2023, 4:03pm UTC](https://forum.inductiveautomation.com/t/chart-in-report-is-ignoring-grouping/74579 "2023-06-05T16:03:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [June 7, 2023, 8:29pm UTC](https://forum.inductiveautomation.com/t/chart-in-report-is-ignoring-grouping/74579/8 "2023-06-07T20:29:00Z")

</div>

I don't have a complete example, but this post from Phil should be a good starting point:

> [@Report with Scripted Nested Data](https://forum.inductiveautomation.com/t/report-with-scripted-nested-data/11801/2):
>
> So, I figured this out on my own with a lot of help from inspect.py, which showed me this: Java Type: \<type 'com.inductiveautomation.reporting.common.api.QueryResults'\> M: \<type 'void'\> addNestedQueryResults(\<type 'java.lang.String'\>,\<type '[Lcom.inductiveautomation.reporting.common.api.QueryResults;'\>) M: getCoreResults() returns \<type 'com.inductiveautomation.ignition.common.Dataset'\> M: \<type 'java.util.TreeMap'\> getNestedQueryResults() M: \<type 'java.lang.Object'\> get(\<type 'i…

In a script data source you have access to all report parameters and any report data sources defined "above" your script.

---

_[View the full topic](https://forum.inductiveautomation.com/t/chart-in-report-is-ignoring-grouping/74579)._
