Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I have two tables with Many to Many relations, I have created two calculated column on Table A, I have written a condition where I am comparing the values between an existing column and a calculated column in Table A by using IF statements, for which I am getting the circular dependency error.
TABLE A
| ID || | Start_Time || | End_Time || | 15_Min_Time | Customer_Value |
| 1 || | 2020-01-02 10:01:00 || | 2020-01-02 10:08:00 || | 2020-01-02 10:00:00 || | 3 |
| 2 || | 2020-01-02 10:01:00 || | 2020-01-02 10:08:00 || | 2020-01-02 10:00:00 || | 1 |
| 3 || | 2020-01-02 10:06:00 || | 2020-01-02 10:12:00 || | 2020-01-02 10:00:00 || | 4 |
| 4 || | 2020-01-02 10:18:00 || | 2020-01-02 10:30:00 || | 2020-01-02 10:15:00 || | 1 |
TABLE B
| TimeIn || | Info_Value || | 15_Min_Time |
| 2020-01-02 10:00:00 || | 2 || | 2020-01-02 10:00:00 |
| 2020-01-02 10:01:00 || | 1 || | 2020-01-02 10:00:00 |
| 2020-01-02 10:02:00 || | 3 || | 2020-01-02 10:00:00 |
| 2020-01-02 10:03:00 || | 4 || | 2020-01-02 10:00:00 |
| 2020-01-02 10:04:00 || | 5 || | 2020-01-02 10:00:00 |
| 2020-01-02 10:05:00 || | 1 || | 2020-01-02 10:00:00 |
TABLE A and TABLE B are having M:M relation on 15_Min_Time
Calculated_Col_1 = AVERAGEX(
Calculated_Col_2 =
Hi @Anonymous ,
M:M relationship may cause multiple problems in calculation,you'd create a relationship between other fields which is a 1:M relationship.
BTW,could you pls advise me what your expected output is?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |