# Dynamic Data Keys in Reporting

**URL:** <https://forum.inductiveautomation.com/t/dynamic-data-keys-in-reporting/107887>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [June 27, 2025, 3:50pm UTC](https://forum.inductiveautomation.com/t/dynamic-data-keys-in-reporting/107887 "2025-06-27T15:50:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diamond](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@diamond](https://forum.inductiveautomation.com/u/diamond)\
**Post date:** [June 27, 2025, 3:50pm UTC](https://forum.inductiveautomation.com/t/dynamic-data-keys-in-reporting/107887/1 "2025-06-27T15:50:43Z")

</div>

Hello,

I'm trying to create a button in a report that links to the "PageMax - 1" page using "Page:Number".

Is there any way to do this?

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

Thanks!

---

<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:** [June 27, 2025, 4:41pm UTC](https://forum.inductiveautomation.com/t/dynamic-data-keys-in-reporting/107887/2 "2025-06-27T16:41:04Z")

</div>

Maybe something like this?  
`Page:@PageMax-1@`

---

<div class="post-metadata">

**Author:** ![diamond](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@diamond](https://forum.inductiveautomation.com/u/diamond)\
**Post date:** [June 29, 2025, 10:12am UTC](https://forum.inductiveautomation.com/t/dynamic-data-keys-in-reporting/107887/3 "2025-06-29T10:12:29Z")

</div>

Thanks! It turns out it works, but only when setting the value as static. I don’t understan why, though...

---

<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:** [June 30, 2025, 4:04pm UTC](https://forum.inductiveautomation.com/t/dynamic-data-keys-in-reporting/107887/4 "2025-06-30T16:04:53Z")

</div>

It's an order of operations/evaluation thing.  
With a dynamic data key, you're providing an expression that will be evaluated \_to return whatever value to display (with no further evaluation).  
With an "inline" keychain expression (using the `@` you're returning an expression that will be evaluated at report runtime.

At least, that's what I think is happening 😆
