# Ignition Report - Version key is not working as intended

**URL:** <https://forum.inductiveautomation.com/t/ignition-report-version-key-is-not-working-as-intended/80426>\
**Category:** Ignition\
**Tags:** perspective, reporting\
**Created:** [October 13, 2023, 6:29am UTC](https://forum.inductiveautomation.com/t/ignition-report-version-key-is-not-working-as-intended/80426 "2023-10-13T06:29:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohit\_Das](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@Rohit\_Das](https://forum.inductiveautomation.com/u/Rohit_Das)\
**Post date:** [October 13, 2023, 6:29am UTC](https://forum.inductiveautomation.com/t/ignition-report-version-key-is-not-working-as-intended/80426/1 "2023-10-13T06:29:20Z")

</div>

While creating report, added 2 row versions - Standard and Completed  
The row versions depends on value of 3 different keys - x,y,z  
I added version key like -  
(x != NULL && y != NULL && z != NULL)?"Completed":"Standard"  
This is not working as intended  
When I give some value to x (y and z are NULL), then itself the row is versioned as 'Completed'  
Please let me know if I'm providing the expression correctly

---

<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:** [October 13, 2023, 2:58pm UTC](https://forum.inductiveautomation.com/t/ignition-report-version-key-is-not-working-as-intended/80426/2 "2023-10-13T14:58:55Z")

</div>

The [reportmill keychain pdf](https://www.reportmill.com/support/keychains.pdf) might be of help here. I see that it says NULL values get evaluated to false and non-null get evaluated to true. So you might try  
`x && y && z?"Completed":"Standard"`
