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.
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 @vincentnoot ,
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.
Avoiding circular dependency errors in DAX
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.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |