The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi all,
For a liquidity prognosis I want to make a measure that calculates the month's total liquid position based on previous months' expenses and prognosed liquid position.
My table has 4 rows:
- Expenses > lists all planned expenses in this month
- Cash position > The cash position at the start of the current month
- Prognosis > Equals the total of cash position + expenses for the next month
- Total > Equals the total of Expenses + Cash position + Prognosis
As the sharp reader will have realized, [Prognosis] and [Total] are in a circular dependency. However, logically I believe there has to be a way to have the total calculated based on the formula's own result in the previous month. Has anyone got some insights into this problem?
Thanks!
Solved! Go to Solution.
Hi,
I managed to solve the problem by simply creating 12 measures (one for each month) that each take the total value of the month before.
I think my desired outcome is impossible in Power BI, as it will always lead to circularity.
Hi @Anonymous ,
In order to make it clearer and easier to understand your problem and find the right way to solve it, could you please provide some data from the involved tables (without sensitive data) and some practical examples to illustrate the problem and the backend logic. Thank you.
And for circular dependency, you can get more details in the following links.
Hi,
I managed to solve the problem by simply creating 12 measures (one for each month) that each take the total value of the month before.
I think my desired outcome is impossible in Power BI, as it will always lead to circularity.
@Anonymous ,
Prognosis is using Cash position and Expenses then they are not
and if Prognosis using Cash position then what is the need to use it again.
Can you share actual formula
User | Count |
---|---|
59 | |
58 | |
49 | |
48 | |
32 |
User | Count |
---|---|
127 | |
85 | |
69 | |
48 | |
47 |