Forum Discussion
Anonymous
5 years agoNot applicable
Non Dev Chart
Hi All, I have a situation here and its confusing for me. I have two columns in my report i.e Created Date and Closed Date and I have calculated column where i have the distinct count of the ...
- Anonymous5 years ago
Hi Anonymous ,
Yes, the measure counts the closed tickets. Because there an active relationship between date and create date.
Not very clear about your data model, I used date hierarchy Year and Month as axis.
I'll share my sample data with you. please check the attached file.
Best Regards,
Jay
Anonymous
5 years agoNot applicable
Hi Anonymous ,
Use below measure and you don't need the inactive relationship and USERELATIONSHIP() function.
Measure = CALCULATE(DISTINCTCOUNT('Table'[WORKITEM]),FILTER('Table',YEAR('Table'[CLOSEDATE])=SELECTEDVALUE('CALENDAR'[Date].[Year])&&MONTH('Table'[CLOSEDATE])=SELECTEDVALUE('CALENDAR'[Date].[MonthNo])))
Best Regards,
Jay
Anonymous
5 years agoNot applicable
Hi Jay,
I'm not sure what is the reason but when I'm dragging fileds from my main table, all the values in the common created date table vanishes. Can' understand the reason as the relationship is also there.
P.S : I've created the measure as suggested. Now stuck on how to use it with my common date table.