Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

How to do sum of columns using count () inside in ssrs expression

$
0
0

I have a column -testcolumn which gives different values .

I need to sum them up but I am unable to below is what I am writing 

sum(count(lcase(Fields!testcolumn.Value)="hi") + count(lcase(Fields!testcolumn.Value)="hello")>=3,

E.G   testcolumn will have values =" hi"  or "hello"

I need to determine each count and then sum them up

say hi appears 2 times and hello appears 3 times my result would be (2+3)=5 

    





Viewing all articles
Browse latest Browse all 10045

Trending Articles