Hi @HungKieu,
First, you should check if your MATCHES expression is correct and returns any result. In the first calculation, you have two MATCHES and it could be that the first one doesn’t return any result?
See related regular expression documentation page: Regular expressions
But the measure you have created could impact your report performance as it iterates through all issues and thus is not recommended. A better solution would be to create a JavaScript calculated field that returns results during the import. And then use this dimension for further calculations by using a tuple with the needed measure.
Following is an answer to a similar question that could work also in your use case:
After importing this dimension, you can use it to create a tuple with the measure “Hours spent with subtasks” and second with “Issues resolved”:
([Measures].[Hours spent with sub-tasks], [Issue summary Developer].[true])
([Measures].[Issues resolved], [Issue summary Developer].[true])
best,
Gerda // support@eazyBI.com