# Display the monthly consumption on a XY Chart

**URL:** <https://forum.inductiveautomation.com/t/display-the-monthly-consumption-on-a-xy-chart/60244>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 1, 2022, 8:18am UTC](https://forum.inductiveautomation.com/t/display-the-monthly-consumption-on-a-xy-chart/60244 "2022-06-01T08:18:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugobre](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hugobre](https://forum.inductiveautomation.com/u/hugobre)\
**Post date:** [June 1, 2022, 8:18am UTC](https://forum.inductiveautomation.com/t/display-the-monthly-consumption-on-a-xy-chart/60244/1 "2022-06-01T08:18:42Z")

</div>

Hey !

I have a database with serval tables (1 table per month) and in those tables, I have all the values of my tags.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/6/f6e027cf3e921f40268183a2672ec601d5f16fac.png)  
I have a tag for the frquency, another for my current,…  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/b/0b11826700ee4af6e5f1ad1b8a550239b922f010.png)

All I want to do is to take my active power from my tables and put it in a XY Chart to see the monthly consumption. You can see an example bellow.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/5/a50ed7ba0fc4175e68416227e64651ce10102b74.png)

Thanks for your help !

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 1, 2022, 11:24am UTC](https://forum.inductiveautomation.com/t/display-the-monthly-consumption-on-a-xy-chart/60244/2 "2022-06-01T11:24:19Z")

</div>

Those are historian tables, you should be able to use history bindings to get your data.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/a/bad9d53ebef2dd6643b7bbd16e7348484d77a055.png)

That’s for a timeseries chart, but it should work similarly for an XY chart
