The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
I'd like to create two new columns, but I get an error "circular dependency was detected: DailyEntry[Intensity (%)], DailyEntry[Volume (%)], DailyEntry[Intensity (%)]"
The first column I want it to be:
Solved! Go to Solution.
Hi @vaz19 ,
If there is only one data table in the report, you need to set a key column for the table and then use removefilters() in the two calculated columns:
Column =
VAR TD = [TD_Game%]
VAR RESULT = TD / 4
RETURN
CALCULATE ( RESULT, REMOVEFILTERS ( 'Table'[Column 2] ) )
Column 2 =
VAR td = [TD_Game%]
VAR result = td / 4
RETURN
CALCULATE ( result, REMOVEFILTERS ( 'Table'[Column] ) )
Please refer this blog: Avoiding-circular-dependency-errors-in-dax
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @vaz19 ,
If there is only one data table in the report, you need to set a key column for the table and then use removefilters() in the two calculated columns:
Column =
VAR TD = [TD_Game%]
VAR RESULT = TD / 4
RETURN
CALCULATE ( RESULT, REMOVEFILTERS ( 'Table'[Column 2] ) )
Column 2 =
VAR td = [TD_Game%]
VAR result = td / 4
RETURN
CALCULATE ( result, REMOVEFILTERS ( 'Table'[Column] ) )
Please refer this blog: Avoiding-circular-dependency-errors-in-dax
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The main problem I think is that these look like columns based on measures. Is that right? e.g. [Sprint Distance_Game%]
If so, you need to rewrite the columns to not use measures.
It is based on your model how you make the relations
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
80 | |
78 | |
47 | |
40 |
User | Count |
---|---|
149 | |
115 | |
67 | |
64 | |
58 |