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

Report Builder 3.0 - Function IN (item, set) Help

$
0
0

 In Report Builder 3.0, I'm trying to add an expression that uses the "IN" function / formula but have not been able to get the arguments correct. The syntax says it should be as follows: IN(item,set).

I have tried many different ways of handling this syntax with no success. I imagine the problem occurs in the SET argument. What I thought it should be is IN(NUM_OFFICE, ("111", "112", "113", "114")) - but this does not work. What is the appropriate way to handle this? What is an acceptable "set"?

Previoulsy when handling multiple values I've used an OR function - i.e. OR(NUM_OFFICE = "111", OR(NUM_OFFICE = "112", NUM_OFFICE = "113")). However, the requirements now call for many different values; too many to use the OR function but not too many to use a list. What is the best way to handle this?

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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