Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi expert ,
I've been struggling the last 2 days on what a thought would be simple but it appears not .
I just want to sum the positive values .
as you can see , on week 5 the employee work less than it's weekly hours contract . so in the 4th column total , i just want get rid of negative values and have 4.25 in total in column 5
I tried :
Thank you for your help and your expertise !
Have a nice one
Without seeing the underlying data, it's a bit hard to tell... that said, perhaps something like:
Sum(RangeMax(0, Aggr(Sum(YourFormulaHere),YourDimensionsHere))
Hi @sunnybi ,
try with:
Sum(If([Worked Hours] - [Contract Hours] > 0, [Worked Hours] - [Contract Hours]))
Hope this helps
Hi ,
thanks for your reply, but unfortunately ,the total is missing...
Let's see if I understood correctly your target.
Use the whole expression with SUM and you'll get it
Hi F_B,
you're getting close, but there's a misunderstanding. My bad ! (english is not natural to me)
it's opposite way, what i want it's remaining hours that the employee haven"t done per week . (check week 5 )
I tried your idea in the last column but as you can see the results is not right.
In your picture , did you use sum expression for worked hours ,and contract hours ? how come there's no total ?
In my case , I have to use use sum because the datas are on daily basis and shown into weeks.
Anyway, Thank you for you precious help
Without seeing the underlying data, it's a bit hard to tell... that said, perhaps something like:
Sum(RangeMax(0, Aggr(Sum(YourFormulaHere),YourDimensionsHere))
it's understadable, wish we could do visio
Finally , I had something !
In a straight table , I change total function from Auto , to Sum . And it worked !!
Thing is, this feature don"t exist in a cross table . any advice?
Hey Or,
thank you for your advice , but ...
feels like this is getting close , but something missing....