Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Please me with the logic .
Requirement: Pareto graph
Where to use FABS in below expression.
expression1:
num(Sum({<Year=, Quarter=, Month=, Week=, [Pstng Date]={">=$(=Date(Max( [Pstng Date])-13))<=$(=Date(Max( [Pstng Date])))"}>} [Posting Amount] ),'##.##0')
expression2:
RangeSum(Above(Sum({<Year=, Quarter=, Month=, Week=, [Pstng Date]={">=$(=Date(Max( [Pstng Date])-13))<=$(=Date(Max( [Pstng Date])))"}>} [Posting Amount] ), 0, RowNo()))
/
Sum({<Year=, Quarter=, Month=, Week=, [Pstng Date]={">=$(=Date(Max( [Pstng Date])-13))<=$(=Date(Max( [Pstng Date])))"}>} total [Posting Amount] )
If possible please add an logic for soring also.
Thanks,
Kishore
Then should work
Num(Sum({<Year, Quarter, Month, Week, [Pstng Date] = {">=$(=Date(Max([Pstng Date])-13))<=$(=Date(Max([Pstng Date])))"}>} fabs([Posting Amount])), '##.##0')
Any inputs please.
Thanks..
usage of fabs will depend on what you want to see... fabs and then sum or sum and then fabs. For example, if this is my data
-4
2
Do you want to see 2 fabs(Sum(Value)) or 6 Sum(fabs(Value))
I want to make -10,-20,-30 as 10,20,30
But is that at the row level or summed up level?
In data it self they were posting as Negative.
Thanks...
Yes it is row level.
Then should work
Num(Sum({<Year, Quarter, Month, Week, [Pstng Date] = {">=$(=Date(Max([Pstng Date])-13))<=$(=Date(Max([Pstng Date])))"}>} fabs([Posting Amount])), '##.##0')