Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Gurus,
I'm trying to calculate a Total of different values excluding Null. In the example below, as there are 3 different Quotations Codes, I'd like to calculate a Total of Quotations = 3.
| Company | Quotation Code | Quotations Counter |
|---|---|---|
| A01 | RMX0242 | 1 |
| A01 | RMX0242 | 1 |
| A01 | RMX0242 | 1 |
| A01 | RMT9942 | 1 |
| A01 | RMT9942 | 1 |
| A01 | XXX4544 | 1 |
| A01 | 0 | |
| A01 | 0 |
Total Quotations Counter = 3
Any idea of how I can get this? If I use the formula Count(Distinct([Quotation Number])) the result is 4 as it is counting also "null" value.
Thanks in advance!
Regards,
Jordi
Hi,
try this:
Count(Distinct {<[Quotation Number]={"=len(trim([Quotation Number]))<>0"}>}[Quotation Number])
Hi,
try this:
Count(Distinct {<[Quotation Number]={"=len(trim([Quotation Number]))<>0"}>}[Quotation Number])
try this
Count(Distinct {<[Quotation Counter]={">0"}>} [Quotation Number])
This is working. Thanks Youssef!!
you're welcome
don't forget to close the thread
This solution is also countg nuls. But thanks anyway!!