# Pie Chart Reporting Modual

**URL:** <https://forum.inductiveautomation.com/t/pie-chart-reporting-modual/18191>\
**Category:** General Discussion\
**Created:** [May 28, 2018, 11:45pm UTC](https://forum.inductiveautomation.com/t/pie-chart-reporting-modual/18191 "2018-05-28T23:45:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 29, 2018, 11:28am UTC](https://forum.inductiveautomation.com/t/pie-chart-reporting-modual/18191/2 "2018-05-29T11:28:36Z")

</div>

This should help you out. As an extra bit of information, the underlying dataset in a report query would be

```auto
data['keyname'].getCoreResults()

```

> [@Transpose Rows and Columns](http://forum.inductiveautomation.com/t/transpose-rows-and-columns/14308/2):
>
> I have something that could be massaged into what you need. The follow code is designed to take one or more datasets, each with a just a few rows, and flip all the rows into columns. Should be close to what you need: #---------- # Construct a dataset with columns from supplied datasets rows. The column # names from the first dataset become the string values in the first column # of the result. The first argument to the function is a sequence of names # for the dataset arguments. The name s…

---

_[View the full topic](https://forum.inductiveautomation.com/t/pie-chart-reporting-modual/18191)._
