Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Using related in a measure

Hi,   I have a simple query where i count the no. issues closed during each month and hence i created a date table and have a n:1 (GetIssue[Closed_date] : DateKey[Date])relationship with my date ta...
  • Ashish_Mathur's avatar
    8 years ago

    Hi,

     

    Try this measure

     

    =CALCULATE(DISTINCTCOUNT(GetIssues[id]),USERELATIONSHIP(GetIssues[Closed_date],DateKey[Date]))