# Help Needed: Query for Xray Tests Not Executed in Last 6 Months

**URL:** <https://community.eazybi.com/t/help-needed-query-for-xray-tests-not-executed-in-last-6-months/19758>\
**Category:** Questions & Answers\
**Tags:** jira, jira-cloud, xray\
**Created:** [March 31, 2025, 7:31pm UTC](https://community.eazybi.com/t/help-needed-query-for-xray-tests-not-executed-in-last-6-months/19758 "2025-03-31T19:31:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonathanSantos](https://community.eazybi.com/letter_avatar_proxy/v4/letter/j/e9c0ed/32.png) [@JonathanSantos](https://community.eazybi.com/u/JonathanSantos)\
**Post date:** [March 31, 2025, 7:31pm UTC](https://community.eazybi.com/t/help-needed-query-for-xray-tests-not-executed-in-last-6-months/19758/1 "2025-03-31T19:31:26Z")

</div>

Hello EaZyBI team,

I need your assistance. Is it possible to get the following report in Jira Cloud with Xray Test Management?

All test cases in a workflow status other than “Obsolete”

That have not been executed in the last 6 months (or never executed)

Could you guide me on how to configure this in EasyBI?

Thank you as always for your support!

---

<div class="post-metadata">

**Author:** ![janis.plume](https://community.eazybi.com/user_avatar/community.eazybi.com/janis.plume/32/8826_2.png) [@janis.plume](https://community.eazybi.com/u/janis.plume)\
**Post date:** [April 7, 2025, 4:07pm UTC](https://community.eazybi.com/t/help-needed-query-for-xray-tests-not-executed-in-last-6-months/19758/2 "2025-04-07T16:07:18Z")

</div>

Hi,

A formula like this should work for this use case:

```auto
Sum(
  Filter(Descendants([Xray Test].CurrentMember,[Xray Test].[Test]),
   [Status].[Status].GetMemberNameByKey(
     [Xray Test].CurrentMember.Get('Status ID')
   )<>"Obsolete"),
   CASE WHEN
    IsEmpty(([Measures].[Xray Tests executed],
    [Time].[Previous 6 months]))
   THEN
    1
   END
)

```

This formula expects that you have created an aggregated member in the Time dimension “Previous 6 months”. The formula counts the tests that have no executions for the period corresponding to the Time dimension member.

Kindly,  
Janis, eazyBI support
