Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
i read some threads on this topic before because it seems to be common, but even with all the solutions i saw i couldnt figure mine out.
So i will try to explain my issue as best as i can and hopefully someone can help me out.
In my table i have Serial Numbers and Dates from Quality inspections, one Serial Number can have several Inspection Dates (refer to image)
This is an example of 1 Serial Number with Inspection Dates
Now i want to create a calculated column in this table to show me the MIN Date for all Serial Numbers -> i want to sort Serial Number by Inspection Dates and therefore i need to create the Mindate column to avoid different dates for the same serial number.
Formula for calculated column
This formula gives me back the circular dependancy, even though i read that ALLEXCEPT should avoid this.
Help appreciated.
Best regards
Solved! Go to Solution.
Hi, @baneworth
I have tested your DAX formula using the created column you provided and based on the fact that one serial number corresponds to multiple dates as you mentioned. The test resulted in no circular dependencies and got the target column you wanted. Here's a screenshot of my test:
DAX formula:
QCBS Done = CALCULATE(MIN(Fact_QCBS[created]),ALLEXCEPT(Fact_QCBS,Fact_QCBS[Serial number]))
The results are as follows:
There are many reasons why circular dependencies arise, and here are some of the possible reasons I've compiled:
Can you provide me with a sample PBIX where this problem occurs? I'll try to help you as soon as I can.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @baneworth
I have tested your DAX formula using the created column you provided and based on the fact that one serial number corresponds to multiple dates as you mentioned. The test resulted in no circular dependencies and got the target column you wanted. Here's a screenshot of my test:
DAX formula:
QCBS Done = CALCULATE(MIN(Fact_QCBS[created]),ALLEXCEPT(Fact_QCBS,Fact_QCBS[Serial number]))
The results are as follows:
There are many reasons why circular dependencies arise, and here are some of the possible reasons I've compiled:
Can you provide me with a sample PBIX where this problem occurs? I'll try to help you as soon as I can.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Thank you for your effort, the issue resolved itself after i made a change to the table itself (coming from sharepoint).
BR
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 35 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 65 |