Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi, sorry if this is a very simplistic question but i've wasted all afternoon trying to figure it out.,..
i have a table in which i have the following expression:
IF (DocumentType = 'C', NetSalesValue)
...this seems to work ok, but i also want an expression that shows everything but 'C'...
i presumed something like:
IF (DocumentType <> 'C', NetSalesValue)
... would work but it doesnt?? what am i doing wrong?
Hi James
you can use set analysis
sum({<DocumentType =-{'C'}>} NetSalesValue) gives everything but C
or
sum({<DocumentType =E{'C'}>} NetSalesValue) excludes C
best regards
Chris
it should work...
try IF (not DocumentType = 'C', NetSalesValue)
no that didnt work either, kind of worked for 1 or 2 lines but not all of them??
Hi James
you can use set analysis
sum({<DocumentType =-{'C'}>} NetSalesValue) gives everything but C
or
sum({<DocumentType =E{'C'}>} NetSalesValue) excludes C
best regards
Chris
It should work. Can you post the offending document that demonstrates the problem?
Yep, bang on - thanks