# Export powerchart

**URL:** <https://forum.inductiveautomation.com/t/export-powerchart/102354>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [February 14, 2025, 8:31am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354 "2025-02-14T08:31:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ezzat\_wan](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@ezzat\_wan](https://forum.inductiveautomation.com/u/ezzat_wan)\
**Post date:** [February 14, 2025, 8:31am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/1 "2025-02-14T08:31:10Z")

</div>

Hi,

i have export powerchart to csv. but i generate both same timestamp for each data. but the value is different. what does it mean?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/c/5c9a17a010bf777bc98a6befbfbfd0cc22cb84e2.png)

Thanks

Ezt.

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [February 14, 2025, 10:22am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/2 "2025-02-14T10:22:11Z")

</div>

Is your data query asking for min/max values?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 14, 2025, 12:57pm UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/3 "2025-02-14T12:57:18Z")

</div>

Also, your time steps are odd, probably because you have a fixed return size and the start and end timestamps are further apart than that many hours. Failing to normalize the endpoints makes for weird and unreliable interpolations.

---

<div class="post-metadata">

**Author:** ![ezzat\_wan](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@ezzat\_wan](https://forum.inductiveautomation.com/u/ezzat_wan)\
**Post date:** [February 17, 2025, 1:56am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/4 "2025-02-17T01:56:41Z")

</div>

I believe the powerchart is all built in things. I didn't use my own custom query to export it to csv. So I don't think it's asking for min max

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 17, 2025, 2:34am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/5 "2025-02-17T02:34:03Z")

</div>

> [@ezzat\_wan](#):
>
> So I don't think it's asking for min max.

You can check this by hitting the ⚙ button, Pens tab, ✎, Aggregation Mode (at the bottom of the dialog).

---

<div class="post-metadata">

**Author:** ![ezzat\_wan](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@ezzat\_wan](https://forum.inductiveautomation.com/u/ezzat_wan)\
**Post date:** [February 17, 2025, 3:27am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/6 "2025-02-17T03:27:17Z")

</div>

Hi @Transistor ,

Aggregation Mode is set to Default.

---

<div class="post-metadata">

**Author:** ![ezzat\_wan](https://avatars.discourse-cdn.com/v4/letter/e/6f9a4e/32.png) [@ezzat\_wan](https://forum.inductiveautomation.com/u/ezzat_wan)\
**Post date:** [February 17, 2025, 4:28am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/7 "2025-02-17T04:28:43Z")

</div>

I checked, Aggregation Mode in Default is set to min/max. But it will better if can export only 1 row for each data.

> [@\[Feature-1975\]PowerChart export duplicate timestamp - Aggregate Mode Default](https://forum.inductiveautomation.com/t/feature-1975-powerchart-export-duplicate-timestamp-aggregate-mode-default/44040/4):
>
> How is the tag history configured? What version of Ignition are you running?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 17, 2025, 9:14am UTC](https://forum.inductiveautomation.com/t/export-powerchart/102354/8 "2025-02-17T09:14:31Z")

</div>

Your options, according to [Perspective - Power Chart | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-chart-palette/perspective-power-chart#properties), are,

> - **aggregateMode** : Mode to use to group the data. Options are: default (MinMax), **Average** , MinMax, LastValue, **SimpleAverage** , Sum, **Minimum** , **Maximum** , DurationOn, DurationOff, CountOn, CountOff, Count, Range, Variance, StdDev, PctGood, or PctBad. Value is string.

Try one of the modes I've highlighted. Each of those should return a single value.
