cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bharathsurya
Helper I
Helper I

Circular dependency in Power Bi

bharathsurya_0-1614844962996.png

The data is entered on every Friday. The input format is as shown above.
The required output on power bi is shown below.

 

Capture.PNG


When I try to make measures for Cash on Hand, Total Cash Available and Cash Position, it says circular dependency. 
Link to excel file: https://docs.google.com/spreadsheets/d/1T81swf2pX2B2VdBEf1PGbDViHZOV6-v6E6rDQWAq0is/edit?usp=sharing 
Please help me to my find a solution.
Thanks in advance 🙂

1 ACCEPTED SOLUTION
luapdoniv
Resolver II
Resolver II

If I understand correctly, you are looking to bring in the closing cash as the opening cash of following week and not get into the calc on circular dependency. This is similar to the inventory model where we bring in the Closing Stock of previous period as the Opening Stock of next period. You can apply the logic found in this link to get to the solution:

 

View solution in original post

3 REPLIES 3
luapdoniv
Resolver II
Resolver II

If I understand correctly, you are looking to bring in the closing cash as the opening cash of following week and not get into the calc on circular dependency. This is similar to the inventory model where we bring in the Closing Stock of previous period as the Opening Stock of next period. You can apply the logic found in this link to get to the solution:

 

View solution in original post

amitchandak
Super User IV
Super User IV

@bharathsurya , I am not able to see the formula of Cash on Hand, Total Cash Available, can you provide those

 

Also refer: https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Cash on Hand = Cash Postion of previous week
Total Cash Available = Cash on Hand + Total Cash Recipets
Cash Position = Total Cash Available - Total Cash Paid Out

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.