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!
I need help in avoiding a circular dependency in Power BI.
I have 2 measures that are creating a "circular dependency" and I don't know how to avoid this. I'm trying to calculate my current, past as well as future "Total inventory" by saying if my "DC OH Inventory" = 0, use my "Excess Short" inventory for the previous week to predict the current/future "total inventory". Otherwise, If i have data against DC inventory, my total inventory should equal to DC OH + Store OH + LE MSR Qty.
However, my excess/short inventory will equal to my total inventory (current and predicted) - POS Sales.
Below are the measures I'm trying to buil in my table:
Total Inventory:
Excess/Short inventory:
Thanks so much!!
This article helped me tremendously when I was trying to understand this topic.
https://www.sqlbi.com/articles/understanding-circular-dependencies/
Thanks!
Dawn
PS: If this solution works, please mark it as a solution to help others. Kudos are nice too.
Thanks Dawn,
It was a great article but didn't help me resolve my issue unfortunately.
I was hoping I could get some advise on my formula as it's where i feel i'm doing something wrong.
thanks,
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 |
---|---|
100 | |
99 | |
80 | |
77 | |
66 |
User | Count |
---|---|
130 | |
106 | |
105 | |
86 | |
72 |