# Bar Chart problem

**URL:** <https://forum.inductiveautomation.com/t/bar-chart-problem/11164>\
**Category:** Ignition\
**Created:** [February 3, 2016, 8:25pm UTC](https://forum.inductiveautomation.com/t/bar-chart-problem/11164 "2016-02-03T20:25:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoisesZV](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@MoisesZV](https://forum.inductiveautomation.com/u/MoisesZV)\
**Post date:** [February 3, 2016, 8:25pm UTC](https://forum.inductiveautomation.com/t/bar-chart-problem/11164/1 "2016-02-03T20:25:43Z")

</div>

Hi, I’m trying to show some columns in a bar chart, I have two columns in a dataset

```auto
SELECT sum("total1")as "total1",sum("total2")as "total2" FROM informe
```

This data is showing ok in a pie chart if I set extract order to by row, but using a bar chart is only showing one column.

If I select three columns is only showing the last two columns, if I select four columns, shows the last three.

---

<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 3, 2016, 9:46pm UTC](https://forum.inductiveautomation.com/t/bar-chart-problem/11164/2 "2016-02-03T21:46:36Z")

</div>

In a bar chart, the first column of your dataset will be the labels for your bars.
