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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.