Hi
I want to see the count of all the Accounts that are in the range of 1$ to 5000$ Amounts
I wrote this formula ,then Im getting all the Accounts (Total Number of Accounts 5045, Accounts with Amount >1 and < 5000 are 2135)
Im getting 5045, I want 2135)
=Count(If([Amount]>=1 And [Amount] < 5000 ;[Query 1].[Account]))
Pls help out.Thanks a lot.
=Count([Account] Where ([Amount] >= 1And [Amount]<5000))
It shoed me #ERROR
I think in where we have to only use Dimentions as conditions…because when I used any dimentional object as condition it showed me with out eeror when Im using measure [Amount] it showing #error.
Hi Revek ,
I donno why its showing Error, in the formula you are counting the Measure depending on the same measure condition.
Is there any other way to do it… :?
Hi ,
In my DB Amount is a Numeric field but in the definition it is sum(nvl(table_name.Amount,0)) ,may be thats why when Im trying to write this Amount in where
Like :
=count([Account] where([Amount]>=1 And [Amount]<500))
If Im using “IF” its not getting right count ,like:
=sum(if([Amount]>=1 and [Amount]<500 ;count(1);0))
Thank you for the post unfortunately it did not work
I have to mention here , that I want to show the count(Number of Accounts where Amount between 1 and 5000) as a stanalone cell ,means I have to show that as count
1-5000$ Claims 5065
5001-10,000$ Claims 467
.
.
.
.
.
If I put Account Number column and this caliculated colum adjusent then its showing the Accounts which has Amount <5000 as 1 rest 0 (which I want) If I remove that Account column(All the 1’s should sum up to 2457 ) but , it shows either 0(for some formulas) or #ERROR for other formulas.