Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I'm getting Circular Depency issues with RANKX.
=RANKX(
FILTER(
tblProjects,
tblProjects[SNAPSHOT_DATE_SERIAL]=EARLIER(tblProjects[SNAPSHOT_DATE_SERIAL]) &&
tblProjects[CompanyID]=EARLIER(tblProjects[CompanyID]) &&
tblProjects[Project_StatusGroupingB_PrevEOM]=EARLIER(tblProjects[Project_StatusGroupingB_PrevEOM])
),
'tblProjects'[VALUE],
,
DESC,
SKIP
)
The only relationship that is referenced is by [Project_StatusGroupingB_PrevEOM], which pulls in a value from a different row on the same table. Is there a better way to structure this RANKX in order to avoid this issue.
Note, it must be a calculated column as I need to sort by it in a multi column Excel Pivot. Also, I don't mind using a different formula like COUNTIF for example that will achieve the same result. I am working with 1000s of rows FYI.
The 'tblProjects'[VALUE] was a calculated column, but I've created a measure and referenced that, still getting same errors.
Any assistance in re-structuring or creating a different formula would be much appreciated. 🙂
Hi @aSystemOverload,
Could you share a dummy pbix file which can reproduce the issue, so that we can better assist on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading. ![]()
Regards
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |