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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AndrewWestley
New Member

CountA columns, working on 2 columns, gives circular ref on all others

Hello there, starting to tear my hair out but fairly new to PowerBI. I'm making calculated columns to allow for a table visual on my report, showing how many outstanding issues each owner has for each group. I've managed to successfully make 2 calculated columns using the same formula, but changing the reference field names. After that, any subsequent fields fail, showing a circular reference and i'm totally lost as to why. Any help would be gratefully appreciated.

 

AndrewWestley_0-1737550800312.png

 

1 ACCEPTED SOLUTION

Hi Andrew, please try below solution if you are still facing the circular dependency issue 

create a flag

Checklist_Overdue_Flag =
IF(table_query_2[checklistoverdue] = "yes", 1, 0)

 

Then, you can create a measure to count the number of overdue checklists:

 

Measure_Overdue_Count = SUM(table_query_2[Checklist_Overdue_Flag])

View solution in original post

3 REPLIES 3
AndrewWestley
New Member

Thats brilliant, thank you for the help, my laptop is no longer getting abused.

AndrewWestley
New Member

Sorry, thought i'd just add another of the formulas that works perfectly

 

AndrewWestley_0-1737550989349.png

 

Hi Andrew, please try below solution if you are still facing the circular dependency issue 

create a flag

Checklist_Overdue_Flag =
IF(table_query_2[checklistoverdue] = "yes", 1, 0)

 

Then, you can create a measure to count the number of overdue checklists:

 

Measure_Overdue_Count = SUM(table_query_2[Checklist_Overdue_Flag])

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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