Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

DAX - circular dependency

Hi,   I keep running into: A circular dependency was detected: Consumer[Companyname], Consumer[Companynameknown], Consumer[Companyname].   Here is a simplified view of the tables used (with the C...
  • v-kkf-msft's avatar
    4 years ago

    Hi Anonymous ,

     

    Since you have established a relationship between Consumer table and Companytable, please try using the RELATED function.

     

    Companyname = 
    RELATED ( Companytable[CompanyName] )
    Companynameknown = 
    IF ( [Companyname] = BLANK (), "yes", "no" )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.