Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Need your help, I have a pivot table in which I wanted to display count of +ve/-Ve values & actual sum in third column.
I am using following formula in expression :
=count({$<[ Amount]={'<0'}>}[ Amount]) &
=count({$<[Amount]={'>0'}>}[ Amount])
However its showing me values which are $-0 & $0.00. I don't want to consider these records in my pivot object.
Thanks in advance.
count({<sign([ Amount])={-1}>}<[ Amount])
&
count({<sign([ Amount])={1}>}<[ Amount])
this will not consider 0 values
Try like this
Go To chart properties > Presentation tab >Check the Suppress Zero values
That should solve the problem
May be this:
=count({$<[ Amount]={'<0'},Amount]-={'-0'}>}[ Amount])
=count({$<[Amount]={'>0'},Amount]-={'0.00'}>}[ Amount])
Try
count({<sign([ Amount])={-1}>}<[ Amount])
&
count({<sign([ Amount])={1}>}<[ Amount])
this will not consider 0 values
Thank you Manoj & All for your time n reply!
I don't think the above expression will work !!! could share the sample app where its working for you ???
sdmech81 did Monaj expressions work's for you ??
Hi Avinash,
Not infront of machine..
I think it should work bcs sign will return -1,0,1 ..
Then when he says sign(AMT)=-1 it means all negative values other even excluding zeros..
Ll confirm Avinash once infront of machine.. Thanks
I don't think so , expression at both the ends in set analysis don't work
Just put the same in text object but I am getting error with this
count({<sign([ Amount])={-1}>}[ Amount])
Hope u also did the same ..
@AJay, Can u Plss paste expression,which u used??
Sachin