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

How do you write an expression where you want to count the number of rows with 2 different criteria? The AND and ANDALSO are working for me...

$
0
0

This expression works:

=Count(Microsoft.VisualBasic.Interaction.IIF(Fields!Report_Number.Value Like "XYZ*",1,Nothing))

But I want to add a condition that says IIF(Fields!Responsible_Organization = "ABC")

so I want to count the number of rows where the report_number value starts with XYZ, and also the responsible_organization = ABC

thank you!

Kim


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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