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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Count circular dependency

I have a circular dependency for debit amount and credit amount and power bi will not accept a count function for both, only for one. I read the SQLBI page about circular dependecy and tried using ALLNOBLANK as well, but no luck. I would really appreciate the help!

For pcd i used the formula calculate(count(debit_amount)), however I cannot use the same formula for pcd2, when I do i get the error message.

Here is the example.

 

count issuepaint.png

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

Have you solved your problem?

 

If you have solved, could you please share your solution and accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share some data sample and your desired output so that we can help further on it.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I posted my actual table. I would like to get the count for the debit and credit column, but i can only get a count of one column because of the ciruclar dependency error.

I found the count of credit in PCD, but got the error when i tried to find the count of debit in PCD2.

 

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,



I have a circular dependency for debit amount and credit amount and power bi will not accept a count function for both, only for one.

I'm not clear what is your problem.

 

If it is convenient, could you share your desired output so that I can understand your requirement and then we can help further on it.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors