# Dynamic path in multipen Power Chart (history binding). Dataset looks fine but no plots

**URL:** <https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 31, 2025, 9:35am UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448 "2025-03-31T09:35:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danie\_Lubbe](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Danie\_Lubbe](https://forum.inductiveautomation.com/u/Danie_Lubbe)\
**Post date:** [March 31, 2025, 9:35am UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/1 "2025-03-31T09:35:34Z")

</div>

Hiya experts!  
I'm trying to get to grips with power charts with Historical tag bindings.

From the forum it seems we are to construct an array (alias, aggregate, path) to the pens binding.

The bindings seem to work:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/7/3763b751f3d367abd653645e1d12f22963fdb13b.png)

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

And the data set pulls through fine:

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

When I bind the **path** of the dynamic path tag from view level to the pen DataSource; it works fine.

What am I missing?  
Is this a good application for Power trend or is Time series more suitable?

Any help appreciated!  
Thanks!  
D

---

<div class="post-metadata">

**Author:** ![Danie\_Lubbe](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Danie\_Lubbe](https://forum.inductiveautomation.com/u/Danie_Lubbe)\
**Post date:** [April 10, 2025, 3:38pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/2 "2025-04-10T15:38:32Z")

</div>

Hi all!  
Still stuck with this one, not sure if I am explaining the problem clearly/correctly?  
Any feedback on clarity appreciated 🙂  
Thanks,  
D

---

<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:** [April 10, 2025, 3:49pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/3 "2025-04-10T15:49:31Z")

</div>

Can you show what you're (not) seeing on the chart and what the data property actually looks like in the property editor?

---

<div class="post-metadata">

**Author:** ![Danie\_Lubbe](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Danie\_Lubbe](https://forum.inductiveautomation.com/u/Danie_Lubbe)\
**Post date:** [April 10, 2025, 4:37pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/4 "2025-04-10T16:37:49Z")

</div>

Hi Paul, thanks for looking into this.

The chart is simply blank (no data selected message):

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0c97af3a3f44517f977273235ad6da3b4341329e.png)  
The data property (in fact all) disappears as soon as pens are binded to key structure:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/9/99b41957d1c08617998799085d8358fe1b5109a4.png)

Please let me know if this is what you meant.

I've noticed when I bind [key] to a time series chart's series property it works as intended.

Thanks again,  
D

---

<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:** [April 10, 2025, 4:43pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/5 "2025-04-10T16:43:59Z")

</div>

make your `custom.key` property match the expected format:

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

That should fix the issue I guess ?

edit:  
While this is marked as solution, it's actually not accurate.  
If you end up here looking for a solution to a similar issue, keep reading, the posts below all hold a part of the final solution.

---

<div class="post-metadata">

**Author:** ![Danie\_Lubbe](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Danie\_Lubbe](https://forum.inductiveautomation.com/u/Danie_Lubbe)\
**Post date:** [April 10, 2025, 5:07pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/6 "2025-04-10T17:07:06Z")

</div>

Thanks @pascal.fragnoud  
This does not resolve the issue, though it does seem intuitive what you are suggesting.  
I want to achieve what is described in:

[Tag history bindings](https://docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/working-with-perspective-components/bindings-in-perspective/tag-history-bindings-in-perspective#using-dynamic-tag-paths).

I believe this is the correct workflow, I suspect I'm just missing something.

---

<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:** [April 10, 2025, 5:10pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/7 "2025-04-10T17:10:43Z")

</div>

Oh okay I see.  
So there are 2 things here:

1. the history binding
2. the binding on the powerchart

So you got the first part right. You're just not putting it where it should be.  
Instead of putting that history binding on the `pen` property, you need to put it on the `pen[0].data` property.

---

<div class="post-metadata">

**Author:** ![Danie\_Lubbe](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Danie\_Lubbe](https://forum.inductiveautomation.com/u/Danie_Lubbe)\
**Post date:** [April 10, 2025, 5:47pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/8 "2025-04-10T17:47:55Z")

</div>

Thanks @pascal.fragnoud that makes a wee bit more sense... I can feel it getting closer!

Sadly, still no plot on my side:

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

Any more thoughts? 🤔

---

<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:** [April 10, 2025, 5:49pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/9 "2025-04-10T17:49:25Z")

</div>

The Power Chart cannot take datasets of data to plot. It only takes pen configurations that include the information need for the Power Chart to make its own history queries.

---

<div class="post-metadata">

**Author:** ![Danie\_Lubbe](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Danie\_Lubbe](https://forum.inductiveautomation.com/u/Danie_Lubbe)\
**Post date:** [April 10, 2025, 5:57pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/10 "2025-04-10T17:57:17Z")

</div>

Thanks @pturmel, I am not sure _why_ an actual dataset is parsed to `pen[0].data`.  
`key` is an object defining paths.

Is there a way to change the binding to hold something different to a dataset or is what I'm trying to achieve not possible in a Power Chart?

---

<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:** [April 10, 2025, 6:03pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/11 "2025-04-10T18:03:37Z")

</div>

The point is that you don't ever use history **bindings** with the power chart. Where you are constructing a custom property that drives a history binding, you should instead be constructing the `props.pens` property with similar information (the history selections), but **including** the pen display options.

Consider backing off to a new Power Chart and using its native tools to add a pen. Examine how that sets up `props.pens` (and `props.plots` and `props.axes`) and do the same with your dynamic tag list.

---

<div class="post-metadata">

**Author:** ![Danie\_Lubbe](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Danie\_Lubbe](https://forum.inductiveautomation.com/u/Danie_Lubbe)\
**Post date:** [April 10, 2025, 6:43pm UTC](https://forum.inductiveautomation.com/t/dynamic-path-in-multipen-power-chart-history-binding-dataset-looks-fine-but-no-plots/104448/12 "2025-04-10T18:43:50Z")

</div>

OK I've finally caught on, thanks everyone for the patience!  
We need to give Power Charts more than just a path, very much like @pascal.fragnoud suggested.

Thanks also @pturmel for the great suggestion.  
I made a pen with navigation, binded my dynamic view level path to `data.source` and `ctrl+c/v`it for every pen I need; so, we're steaming!

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