Forum Discussion
Circular Dependency within Table for calculated column
Without sample data, hard to help you. I'd recommend uploading pbix with sample model (using dummy data, but with same structure) to OneDrive or some other service and share a link here.
It makes it so much easier to help you, when we don't have to recreate/imagine the model you are working with.
Any idea on how to solve this?
- Chihiro7 years ago
Solution Sage
Try using it as measure instead of calculated column.
With your sample it returns Group1 for all but the last row (which shows Other as MarginClass & MarginPL show NaN).
Not sure if this is correct result or not.
- Anonymous7 years agoNot applicable
I can't use measures since I need to use these groups as a visualization axis.
- Chihiro7 years ago
Solution Sage
Normally, I'd do bucketing and categorizing in Query Editor stage then.
I'll have to go through your file more in detail to follow all the steps and criteria applied. Will see if I have time tomorrow or later in the week.