Forum Discussion

drew989898's avatar
drew989898
Frequent Visitor
11 months ago
Solved

Error: A circular dependency was detected

Hi, I'm hoping to get some help on a problem I'm having with a circular dependency. I understand why I'm getting this error, but I'm not sure how to work around it to get the result I require. I hav...
  • Gabry's avatar
    11 months ago

    Hey buddy,

    I’m not completely sure I understood all the requirements. Assuming you have a key on emp id, I created a file for you, please take a look and let me know.
    I should mention that if you create a table using CALCULATETABLE, the data will actually be stored in the model. That makes me wonder if maybe you’d prefer to do it using only a measure instead.

     

     

    EDIT: I updated the file, I put also a measure to do the calculation you need. Let me know if this solve your issue