- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

circular dependency was detected
I have 2 columns in the SalesData table
SalesMode
Sales Amount
Formula:
XYZ = IF(AND(SalesData[SalesMode] = "Online", SalesData[SalesAmount] <= 600), "Met", "Not Met")
Error:
A circular dependency was detected: SalesData[SalesAmount], SalesData[XYZ], SalesData[SalesAmount].
Please help, Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I made a table with just the two columns and added in some dummy data:
I was able to add a calculated column using the same DAX you had and didn't get a circular reference error, however, I would recommend adding columns in Power Query instead of calculated columns with DAX.
Proud to be a Super User! | |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @audreygerred ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
If this post helps, please consider accept as solution to help other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I made a table with just the two columns and added in some dummy data:
I was able to add a calculated column using the same DAX you had and didn't get a circular reference error, however, I would recommend adding columns in Power Query instead of calculated columns with DAX.
Proud to be a Super User! | |

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
02-13-2025 02:50 PM | |||
12-12-2022 09:59 PM | |||
11-18-2024 06:08 AM | |||
12-22-2023 01:50 AM | |||
11-17-2024 09:40 PM |
User | Count |
---|---|
122 | |
104 | |
83 | |
52 | |
45 |