Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
nicoleclancy91
Frequent Visitor

Trying to Divide a calculated column with a grouped column. It worked for one column, but not now.

Hello!

 

I was able to take the PM Average Cost per Job Column to divide the PM time cost/# of shifts. I tried doing the same with Safety Average Cost per Job to = Safety time Cost per Month/# of Shifts and it keeps telling me this error. Please let me know what I did wrong here:

 

nicoleclancy91_0-1674087628039.png

it worked for the calculations of this column, without having to use the divide function:

 

nicoleclancy91_1-1674087649546.png

is it because there are too many calculated columns in my table? 

 

Mind you, this is not in power query. Its just from the tables on PowerBI. I tried to use power query, however the Saety time cost per Month column is referencing a different table with rates that i am not able to access on the custom column feature in power query.

 

would greatly appreciate any feedback.

 

thanks!

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

It's a circular dependency so it's like:

ColumnA depends on ColumnB which depends on ColumnA

It's not clear from what you've posted but look at the calculated columns and how they depend on each other.

The full error message will help you but sometimes these things can be hard to decipher.

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

It's a circular dependency so it's like:

ColumnA depends on ColumnB which depends on ColumnA

It's not clear from what you've posted but look at the calculated columns and how they depend on each other.

The full error message will help you but sometimes these things can be hard to decipher.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors