Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I occasionary encounter circular dependency issues when trying to create relationships between tables created using dax table functions and the dimension tables (such as calendar table etc.,)
I attach the link to the pbix file which is generating the error message above.
I'd greatly appreciate it if anyone could let me know if there is a quick fix to this circular dependency issue.
Solved! Go to Solution.
@DataNinja777 , you need to create your second table in a bit different way:
Summary =
ADDCOLUMNS(
SUMMARIZE ( 'Table',
'Table'[Item Code],
'Calendar'[yyyy-mm]),
"Price", CALCULATE(DIVIDE ( SUM ( 'Table'[Value] ), SUM ( 'Table'[Qty] ) ))
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
@DataNinja777 , you need to create your second table in a bit different way:
Summary =
ADDCOLUMNS(
SUMMARIZE ( 'Table',
'Table'[Item Code],
'Calendar'[yyyy-mm]),
"Price", CALCULATE(DIVIDE ( SUM ( 'Table'[Value] ), SUM ( 'Table'[Qty] ) ))
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
Thanks! The circular dependency error message disappeared, although it transpired that there was another underlying issue of many-to-many relationship when trying to create a relationship with the calendar table.
Hi,
Regarding the circular dependency issue, sometimes removing the blanks in the calculated table helps, but this time, it didn't. How do you fix this circular dependency issue of the calculated table?
Hi @DataNinja777 your Calendar table is not correctly created, ADDCOLUMNS part. check it
Proud to be a Super User!
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |