Forum Discussion

Hussein_charif's avatar
1 year ago
Solved

need help dax measure

i have 2 tables : budgetlines, and genLedgerEntries. budgetlines has budgetAmountACY, and genledgerentries has amount. i have a matrix with the following: rows: Category columns: Month values: Budget...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Hussein_charif ,

     

    The circular dependency occurs when RemainingAmount is calculated based on AdjustedBudget, while AdjustedBudget also depends on RemainingAmount, creating a recursive loop that DAX cannot handle.

    To prevent this, the CumulativePreviousRemaining measure should use only the raw budget and actuals from previous months with a SUMX + FILTER approach, without referencing AdjustedBudget or RemainingAmount. This keeps the carry-forward logic independent and avoids circular references.

    Please check your logic to make sure no recursive dependency is present.

     

    Thank you.