Forum Discussion

Hasan_iba's avatar
Hasan_iba
Helper II
9 years ago
Solved

Circular reference error

Hi power bi experts!! I am having a circular reference error while trying to calculare SPI and CPI coloumn. SPI =Cumulative BCWP/Cumulative BCWS. I have figured out that the cumulative BCWP is the so...
  • v-ljerr-msft's avatar
    9 years ago

    Hi Hasan_iba,

     

    Based on my research, there are normally two ways to solve the circular dependency issue:

    • Add the row identifier column to one of your fact tables, then create corresponding relationships with other fact tables.
    • Use ALLEXCEPT to remove the calculated columns from the set of columns that become part of the dependency list is a viable option.

    For more details about the circular dependency issue, you can refer to this article.

     

    In addition, after looking into your shared pbix file, I would suggest you try using Merge Queries options in Query Editor to merge your "TaskTimephasedDataSet" table and "TaskBaselineTimephasedDataSet" table into a single table, which should make your data mode clear and easier to handle. Here is an article about how to use Merge Queries option for your reference.:smileyhappy: 

     

    Regards