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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

CIrcular dependency error while creating a calculated column

Hello, I'm trying to calculate a column, simple steps

 

PRICE BRAND 1 = CALCULATE(SUM('PRICES'[PRICE]);FILTER(BRANDS;BRANDS[BRAND]="BRAND 1"))
 
And it works perfectly
Then I tried for the second brand
 
PRICE BRAND 2 = CALCULATE(SUM('PRICES'[PRICE]);FILTER(BRANDS;BRANDS[BRAND]="BRAND 2"))
 
and it gives me an error
 
" A circular dependency was detected: PRICES[Column], PRICES[PRICE BRAND 2], PRICES[Column]. "
 
Could you please helpme to solve this?
 
1 REPLY 1
HotChilli
Super User
Super User

The simplest solution is to create these formulas as measures rather than calculated columns

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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