Forum Discussion
Kashuo
9 years agoHelper I
How to filter a measure by multiple values
Hello, I would like to create a measure that returns the count of the rows of a table. I am able to use CALCULATE with a single value in the filter expression to get the measure to return the correct...
- 9 years ago
You can use double pipe || as a logical or
=CALCULATE([measure], table[column 1] = 1 || table[column 1] = 2)
- 9 years ago
Or is a function that takes 2 parameters. Double pipe || is an inline syntax and you can have as many as you need.
MattAllington
9 years agoCommunity Champion
You can use double pipe || as a logical or
=CALCULATE([measure], table[column 1] = 1 || table[column 1] = 2)
Anonymous
7 years agoNot applicable
what does [measure] mean in your example?