## Nets on multiple variables

0     7     Edited Sep 2, 2016 by Anonymous

Is there an easy way to create nets for multiple variables? We would need to go both across variables and across values. For example, I have open end variables B41 to B45 and want to create a measure that shows the percent with the values 5, 7, 12 or 16 across those 5 variables. How would I do that?

#### 0

##### robsmithSep 2, 2016

Would something like this work… ?

``````pctin(
in(B4_1,5,7,12,16)
or in(B4_2,5,7,12,16)
or in(B4_3,5,7,12,16)
or in(B4_4,5,7,12,16)
,true)
``````
##### 0

Would you be able to create an option in the ellipse selection that automatically creates this syntax? – Anonymous 9/2/2016 5:44:53 AM

##### 0

Okay, so maybe something like “Multi-var combine as discrete values”? – robsmith 9/2/2016 5:45:20 AM

##### 0

Yes, perfect. – Anonymous 9/2/2016 5:45:35 AM

##### 0

That's a good idea. I'll add it. – robsmith 9/2/2016 5:46:41 AM

#### 0

##### robsmithSep 2, 2016

Or do you need to count a person more than once if they selected 5,7,12 or 16 for multiple variables? In that case, you’d want to do something like this:

``````pctin(B4_1,5,7,12,16) +
pctin(B4_2,5,7,12,16) +
pctin(B4_3,5,7,12,16) +
pctin(B4_4,5,7,12,16)
``````
##### 0

No, I only need to count someone once if they selected multiple values in the list. – Anonymous 9/2/2016 5:46:17 AM