Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
See attached, How do i fabs the negative data and negate the positive data?
For backend, you can do like this:
LOAD FieldName * -1 as FieldName
...
Not sure I understand, are you looking for
=Sum(-Data)
?
May be multiply by -1
Sum(Data) * -1
No, See the table. I wanna change negative values to positive and change positive to negative
No Sunny, I wanna change positive values to negative why negative to positive
That's what this is doing. When the sum is positive, it will make it negative and when it is negative, it will make is positive
I don't what the problem is with sum(-Data)
It will change positive values to negative and negatives to positive
See attached:
I have a field called Data. It has both Negative and Positive values. I want to make the positive values negative why the Negative values positive. Clear?
So it's about grouping the data, then reversing the sign?
=Sum( Aggr(-Sum(Data), no))
edit: No, it's not clear what you are asking for without knowing your requested result (AKA what you expect to see).
I want to do this at the backend not on the chart