Creating a Time to First Comment date

You are on the right track. The only thing missing there is a measure in MDX calculation. You can use default measure Issues created as a filter there or any other to filter issues based on any report context.

Here is the suggested update for the formula:

NonZero(Avg(
  Filter(
    Descendants([Issue].CurrentMember, [Issue].[Issue]),
    [Measures].[Issues created] > 0),
    DateDiffDays(
      [Issue].CurrentHierarchyMember.get('Created at'),
      [Issue].CurrentHierarchyMember.get('First comment date'))
))

However, the missing measure is not the problem here. Typically missing measures will give you more results than necessary.

If you are missing any results, please add Issues dimension to report and select a couple of issues you know there should be some results. Add property Issue First comment date. Check if there is any value in this property. If there is no values pease check if import worked as expected. Run full data re-import if necessary.

Please take into account, you have NonZero function in the formula. It will show you no results if there is far too small/no difference between the Creation time and First Comment time.

I double-checked both your codes and apart from missing measure they worked for me. Please check any spelling, we address issue properties using case sensitive field name match. I did not see any errors there, though.

In my example, I removed NonZero function from the formula, as I did not have values for most issues as first comment time was the same as issue creation time:

Please check if you do not have any default measure with the same name Time to first response. eazyBI should validate and not allow the creation of the measure with an already existing name. However, there are rare cases when we have seen this problem. Create a new measure with another name to avoid this.

Daina / support@eazybi.com