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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.