cancel
Showing results for 
Search instead for 
Did you mean: 

Context Operator "In"...where can I learn the syntax?

Former Member
0 Kudos
EmployeeYearMonthCount Vacation
A2015August
A2016

August

B2015August
B2016August

Thank you always in advance  for your warm guidance and generous help...

My variable Count Vacation contains formula:


=Count([Vacation]) In ([Employee];[Year];[Month])

1.What does semicolon mean? Does order of dimensions matter?

2.How is it different from:

=Count([Vacation]) In ([Employee]) In ([Year]) In ([Month])


3. Is there any page where it explains IN context operators...?


Thank you...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (3)

Answers (3)

amitrathi239
Active Contributor
0 Kudos

For me these two are different formulas..Tested with your data and got the different result.

I would suggest check your detail data and compare what you are getting same or not.

Former Member
0 Kudos

Thank you all for your help...

Former Member
0 Kudos

Dear All,

1. Thank you for the pages.

I was able to confirm that my first variable formula is correct...

2. What I am still struggling is default output context...

Would you recommend it putting it like this?

=Count([Vacation]) In ([Employee];[Year];[Month]) In ([Employee]

Former Member
0 Kudos

Default context is something which gets applied automatically to a measure value based on dimensions included in the block you don't have to worry about that.

I don't recommend you to use the second formula

Former Member
0 Kudos

Hello Hayden,

The semicolon is used to include multiple dimensions to be used with In operator

If you use the second part of the code the measure value bifurcation will be different than your first part

Above document will help you learn the syntax