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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Calculation Rate by Year

Trying to get the Rate based on the following:

 

2021 SBNA RATE = IF('sz858m vwSBNAFinalATTPCnts'[Sale_Year] = 2021, 'sz858m vwSBNAFinalATTPCnts'[SBNA Volume]/SUM('sz858m vwSBNAFinalATTPCnts'[Sales]),0)
 
Presents an error: A circular dependency was detected: sz858m vwSBNAFinalATTPCnts[2021 SBNA RATE], sz858m vwSBNAFinalATTPCnts[2020 SBNA RATE], sz858m vwSBNAFinalATTPCnts[2021 SBNA RATE].
 
I was able to get 2020 to work no problem so I am wondering if this is related to no data for March forward but how do i fix?
2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Could you please explain to us with some sample data and expected result for better understanding? Do mask sensitive data before uploading. Thanks.

 

Best Regards

Allan

Jimmy801
Community Champion
Community Champion

Hello @Anonymous 

 

to delete the dependencies. 😉

WIthout knowing how your datamodel is structure there is no clear way to help you.

There is some connection between 2020 SBNA RATE and 2021 SBNA RATE. You have to go through your logic and understand where they are connected

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.