Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
anupampandey
Helper III
Helper III

MTD Calculation error: A circular dependency was detected: SalesTran[Column], SalesTran[SalesYTD], S

Hi,

 

Can anyone give me suggestion that why "A circular dependency was detected: SalesTran[Column], SalesTran[SalesYTD], SalesTran[Column]." this error I am getting while calculating MTD?

 

Function I am using is SalesMTD = CALCULATE(SUM(SalesTran[Amount]),DATESMTD('Calendar'[DateKey].[Date]))

 

Thanks,

Anupam

 

2 REPLIES 2
anupampandey
Helper III
Helper III

Also I am using YTD = CALCULATE(SUM(SalesTran[Amount]),DATESYTD('Calendar'[DateKey].[Date],"03-31"))

 

In above function there is a slide variation in total amount. In excel it X and in calculated field it is X+1. I don't what is wrong into this.

It this a measure or a calculated column? In the second case, I would expect you to get this kind of error.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.