# Can I show 2 Releases as one Gantt line (union or combined or stacked)?

**URL:** <https://community.eazybi.com/t/can-i-show-2-releases-as-one-gantt-line-union-or-combined-or-stacked/5289>\
**Category:** Questions & Answers\
**Created:** [September 23, 2020, 7:05am UTC](https://community.eazybi.com/t/can-i-show-2-releases-as-one-gantt-line-union-or-combined-or-stacked/5289 "2020-09-23T07:05:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sujith](https://community.eazybi.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@Sujith](https://community.eazybi.com/u/Sujith)\
**Post date:** [September 23, 2020, 7:05am UTC](https://community.eazybi.com/t/can-i-show-2-releases-as-one-gantt-line-union-or-combined-or-stacked/5289/1 "2020-09-23T07:05:26Z")

</div>

Can I show 2 Releases as one Gantt line (union or combined or stacked) ?

---

<div class="post-metadata">

**Author:** ![gerda.grantina](https://community.eazybi.com/user_avatar/community.eazybi.com/gerda.grantina/32/1994_2.png) [@gerda.grantina](https://community.eazybi.com/u/gerda.grantina)\
**Post date:** [September 29, 2020, 10:04am UTC](https://community.eazybi.com/t/can-i-show-2-releases-as-one-gantt-line-union-or-combined-or-stacked/5289/2 "2020-09-29T10:04:14Z")

</div>

Hi @Sujith ,  
To do this, you need to have min version start date and max release date from each of the release that are aggregated in **Fix Version** dimension.  
Try using the _Head()_ and _Tail()_ functions to get the min and max values from Fix version. Have a look at the formula below for a similar use case where the max created date is retrieved from Fix version (for release the date is **Release date** ):

```
Tail(
  Filter(
    Descendants([Fix Version].CurrentHierarchyMember,[Fix Version].[Version]),
    Not IsEmpty([Fix Version].CurrentHierarchyMember.Get('Start date'))
    AND
    [Measures].[Issues created] > 0
  ), 1
).Item(0).Get('Start date')

```

This is how is looks in report:

 ![image](https://community.eazybi.com/uploads/default/original/2X/c/c6d7cccdb581044a8d6317068071ff820258fb3d.png)

Here are some more examples from other posts:

> [@Aggregate fixVersion status across multiple Jira projects](https://community.eazybi.com/t/aggregate-fixversion-status-across-multiple-jira-projects/5077/2):
>
> Hi @pdaly As you can see in your screenshot, the same fix version can have a different start date and release date in different projects. Therefore, there should be a question of what is the correct result on the version level in such report (which project to pick from). Assuming you would like to cover all the issues from all projects on the Fix version level (in your report) you could try the following code (earliest version start date) CASE WHEN [Fix Version].CurrentHierarchyMember.Hierar…

> [@Filer Time in Fix Version "by name"](https://community.eazybi.com/t/filer-time-in-fix-version-by-name/820/4):
>
> Hi @lennoncork! Here is a generic solution to get the Time between the first start date and last release date (returning 1 for the period between the dates) for either Fix Version default or By Name hierarchies, no matter if single or multiple versions are selected CASE WHEN DateBetween([Time].CurrentHierarchyMember.StartDate, Order( Filter( Generate( -- here we generate a set of Fix Versions either from Fix Version hierarchy or aggregated Page selection { [Fix Version].Cu…

best,  
Gerda // [support@eazyBI.com](mailto:support@eazyBI.com)

---

<div class="post-metadata">

**Author:** ![Sujith](https://community.eazybi.com/letter_avatar_proxy/v4/letter/s/77aa72/32.png) [@Sujith](https://community.eazybi.com/u/Sujith)\
**Post date:** [September 29, 2020, 4:38pm UTC](https://community.eazybi.com/t/can-i-show-2-releases-as-one-gantt-line-union-or-combined-or-stacked/5289/3 "2020-09-29T16:38:40Z")

</div>

Hi Gerda, Thanks for your suggestion.  
I got min and max dates from head and tail, but how do I aggregate 2 Releases in one line … any help please

---

<div class="post-metadata">

**Author:** ![gerda.grantina](https://community.eazybi.com/user_avatar/community.eazybi.com/gerda.grantina/32/1994_2.png) [@gerda.grantina](https://community.eazybi.com/u/gerda.grantina)\
**Post date:** [September 30, 2020, 7:32am UTC](https://community.eazybi.com/t/can-i-show-2-releases-as-one-gantt-line-union-or-combined-or-stacked/5289/4 "2020-09-30T07:32:09Z")

</div>

Hi @Sujith,  
You need to create [an aggregate](https://docs.eazybi.com/eazybi/analyze-and-visualize/calculated-measures-and-members/mdx-function-reference/aggregate) in **Fix version** dimension:

```
Aggregate({
  [Fix Version].[Demo].[Unreleased].[1.0],
  [Fix Version].[Demo].[Unreleased].[2.0]
  })

```

Here you can see an example of how to do it:

> [@Aggregating Fix Versions](https://community.eazybi.com/t/aggregating-fix-versions/3209/2):
>
> Hi @pankajmehta, The natural way to group Fix Versions by Deployment would be to set the Deployment dimension on rows. At the same time you can use Deployment dimension as page filter as well ([https://docs.eazybi.com/eazybijira/analyze-and-visualize/create-reports#Createreports-Pagedimensions](https://docs.eazybi.com/eazybijira/analyze-and-visualize/create-reports#Createreports-Pagedimensions)) If this is not an option for you because data between Fix Version names and Deployment dimension does not match this way, you may create calculated members in the Fix Version dimension (as you already su…
