Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Count function where value is the same

$
0
0

  A           B                   C             D            E         F

---------------------------------------------------------------------------

DEF 111185531 1104801760 TE14795 YES  LETTER

DEF 112082110 1175367891  ID06948 YES  LETTER

DEF 112082110 1223547756  ID08882 YES  E-MAIL

DEL 132124835 1234535789  ID05558 YES  FAX

DEL 132124835 1234535789  ID05558 YES  PHONE CALL

DEL 132124835 1234535789  ID08882 YES  E-MAIL

DEL 132124835 1234535789  ID08882 YES  PHONE CALL

DEF 112925558 1222354557  ID08882 YES  FAX

DEF 112925558 2232145357  ID08882 YES  LETTER

 

Hi, i have the above output in my webi report and i'm trying to create variables that count column [F] where the value is the same.

So the above table should produce the desired results.

 

LETTER - 3

E-MAIL - 2

PHONE CALL - 2

FAX - 2

 

I have a variable each for letter, email fax and phone call and i've tried the following formulas for each but non produces the correct count

 

=Sum(If Left([F];6) = "LETTER" Then 1 Else 0)

 

=Count([F]) Where ([F] = "LETTER")

 

=Count(If([F] InList("LETTER"); [F];0))

 

=Count([F];All) Where ([F] = "LETTER")

 

Any advice will be greatly appreciated

 

Thanks!!!

WEBI 4.0 BUILD 797


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>