Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
As I need to exclude the values from the chart and the table if the status is 'A' and the Code is '#'
1. I would like to exclude the [Status] = 'A' and the [Code] = '#', as I tried in the below but it exclude all Status 'A' invoices
=Count({$<[Status]-={'A'} , [Code]-={'#'}>}DISTINCT([Transactions]))
Regards
Chriss
You can always add a flag field (in the script or as a variable)
that will something like this:
If ([Status] = 'A' and the [Code] = '#',1,0)
Then your set analysis will be more simple and easy to adjust
Count({<Flag = {'1'}>} DISTINCT([Transactions]))
=Count({$<[Status]={'*'} ,[Status]-={"A"} [Code]-={'#'}>}DISTINCT([Transactions]))
try:
Count({$<[Status]-={'A'} > * < [Code]-={'#'}>}DISTINCT([Transactions]))
You can always add a flag field (in the script or as a variable)
that will something like this:
If ([Status] = 'A' and the [Code] = '#',1,0)
Then your set analysis will be more simple and easy to adjust
Count({<Flag = {'1'}>} DISTINCT([Transactions]))
May be like this
=Count({$<[Transactions]={"=[Status]<>'A' and [Code]<>'#'"}>} DISTINCT [Transactions])
or
Count({$-(<[Status]-={'A'} > * < [Code]-={'#'}>)}DISTINCT [Transactions])
HI
Try like this
Count({$-(<[Status]-={'A'} > * < [Code]-={'#'}>)}DISTINCT [Transactions])
Hi All,
Thanks for your valuable reply now the expression is working fine...
Regards
Chriss