Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Circular dependencies in measures

Hello community members

I am getting cirular dependecies error while creating the below measure, as it is using the other measure for calculation

 

previous backlog = CALCULATE([Current COVID-19 Backog],PREVIOUSMONTH(Date_table[Date]))
 
Other related measures:

Remaining COVID-19 Backlog from DSRTF and System Impact = if(wait_list_data[diff]>[previous backlog],[previous backlog],wait_list_data[diff])

 

Is there any system impact? = if(([Remaining COvid-19 backlog from DSRTF impact]-[Remaining COVID-19 Backlog from DSRTF and System Impact])>0, "yes","No")

 

If yes, what is the system impact? = if([Is there any system impact?] = "Yes", ([Remaining COvid-19 backlog from DSRTF impact]-[Remaining COVID-19 Backlog from DSRTF and System Impact]),0 )

 

Current COVID-19 Backog = if((SELECTEDVALUE('Service Line'[Target Backlog ]) - [DSRTF impact]- [If yes, what is the system impact?])<0,0,((SELECTEDVALUE('Service Line'[Target Backlog ]))))

 

 

It would be immensely helpful if someone can suggest work around to resolve circular dependency error

1 Reply