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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Circualr Dependancies

Hi,

 

I’m having an issue with circular dependencies  I am using the two formulas below.

 

2017 Repair Count = CALCULATE(COUNTA('Job Summary Josh Test'[place_ref]),USERELATIONSHIP('Job Summary Josh Test'[place_ref],'Repair Count'[place_ref]),'Job Summary Josh Test'[COMP_FISCAL_YEAR_TEXT] ="FY 2017")

 

 

alpha Number Of Repairs Groups =

VAR x = 'Repair Count'[2017 Repair Count]

RETURN

SWITCH(

    TRUE(),

    x >= 0 && x <= 5, "Between 0 and 5",

    x >= 6 && x <= 10, "Between 6 and 10",

    x >= 10 && x <= 30, "Between 10 and 30",

    x >= 30 && x <= 90, "Between 30 and 90",

    x >= 90 && x <= 150, "Between 90 and 150",

    "150+ and above"

)

 

When I use this formula I get the following message

 

A circular dependency was detected: Repair Count [2017 Repair Count], Repair Count[alpha number of repairs groups],repair Count[2017 Repair Count]

 

Why is this an issue and how can I resolve this issue going forward.

 

Any and all help is greatly appreciated.

1 REPLY 1
guiggs
Helper II
Helper II

Hi @Anonymous!

 

Did you get an error in the first formula or just when you did the second one?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.