- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Need help to fix the circular dependency with the recursion
ND
Can anyone help me to build the dax formula which can avoid the circular dependency? This is quite difficult because it include the recursion. But I think it can be solved because my answer are correct until the sixth month.
NP_B = Obtained the data from the Excel
ND_B = Obtained the data from the Excel
NS_B = Obtained the data from the Excel
NP = Previous ND+PreviousNS
ND = ND_B * (NP_R/NP_B-1)
NS = (NP_R*%)/3
NP_R = NP_B + NP
Can help me to build the dax formula for NP, ND, NS, NP_R to avoid circular dependency? Thanks a lot!!!
The picture are what I did. I did for the temp table, columns and measure. The picture below just one part of that. Hope that can be simplify too.
- NP_R used by ND and NS. Previous ND and NS sum up will be the NP. Previous NP and NS involve the recursion. This caused the circular dependency was detected in "Temp R 2": V2[NS]. I used "Temp NP 2"+NP_B. My month will from 1 to 12.
The pic (Pic with handwriting) above is the columns that I used to build the calculation. "Temp" and "R" in V and V2 are calculated by measures and the remaining are calculated by the new columns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MiXiang
Not on picture from your pbi, but in your text. Check yellow. Hope this help, kudos appreciated.
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The pic above is the columns that I used to build the calculation. "Temp" and "R" in V and V2 are calculated by measures and the remaining are calculated by the new columns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MiXiang is this solution, if yes accept it.
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. Maybe you can see my replies above again so that you can understand. I think I gave more detailed explanation

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
02-13-2025 02:50 PM | |||
12-12-2022 09:59 PM | |||
11-08-2024 12:18 AM | |||
07-22-2024 11:47 AM | |||
Anonymous
| 05-02-2024 04:27 AM |
User | Count |
---|---|
29 | |
16 | |
14 | |
13 | |
13 |