Hi all, This is the First time I am coming across this type of issue.,
I have a few measures, and they all work fine in the report as expected. However I am creating a Dax that refers to these existing measures as a variable. and that’s when I am getting this error.
Here is the measure that I am writing , just testing at the moment.
`DataLabel_Tasks CreatedBy =
VAR _tasksbyTC = [TasksCreatedByTC_CasesToAction]
VAR _PercentTasksByTC = [%TasksByTC(cases to Action)]
VAR _tasksbyWF = [TasksCreatedByWFteam_CasesToAction]
VAR _PercentTaskByWF = [%TasksByWF(cases to Action)]
return
_tasksbyWF`
The ones on the left and right, are directly getting populated by the measure
so for example [TasksCreatedByWFteam_CasesToAction] measure in above example is a simple calculation too :
TasksCreatedByWFteam_CasesToAction =
VAR _calc = CALCULATE(
[TcTasks_CreatedBy_WFTeam]
,FILTER(ALL('Fact: Feedback Cases & Tasks'[Fact Tasks.TaskID],'Fact: Feedback Cases & Tasks'[CaseStatus])
,'Fact: Feedback Cases & Tasks'[Fact Tasks.TaskID]<>BLANK()
&& NOT('Fact: Feedback Cases & Tasks'[CaseStatus] in{"Closed","WaitForCustomer"})
)
)
VAR _result = COALESCE(_calc,0)
Return
_result
Any ideas / thoughts on this error, to point me in correct direction ?
thanks