Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217117

Circular Dependency

$
0
0

Hi All,

 

This is probably a simple issue, but i'm having a nightmare with a simple Calculate(Sum formula.

 

Using 1 table containing timesheet data, I have column for Hours Worked. I've managed to successfully create a formula which calculates the sum of hours worked, where a certain client ID isn't present:

 

Non-Jupiter Hours = CALCULATE(SUM(Timesheet[HOURS_WORKED]),'Timesheet'[CLIENT] <> "www.Jupiter.com")

 

I'm trying to write the converse of that to show ONLY Jupiter hours:

 

Jupiter Hours = CALCULATE(SUM(Timesheet[HOURS_WORKED]),'Timesheet'[CLIENT] = "www.Jupiter.com")

 

And this is where I get the circular dependancy issue. I would understand if I'm referencing other calculated columns in either formula, but I'm not!

 

Can someone please help?

 

Cheers,

 

Alex


Viewing all articles
Browse latest Browse all 217117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>