Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |