Forum Discussion
adavid999
5 years agoHelper V
add And to if statement
Hello, Please can anyone let me know how to add another argument to this measure where I want dim_table2[y] to also be filtered? So my aim is to return 1 if dim_table1[x] and dim_table2[y] is filter...
- 5 years ago
Here you go
filter measure =CALCULATE (IF (ISFILTERED ( dim_table1[x] ) && ISFILTERED( dim_table1[y] ),1,0),ALLSELECTED ( dim_table3[z] ))Pat
mahoneypat
5 years agoMicrosoft Employee
Here you go
filter measure =
CALCULATE (
IF (
ISFILTERED ( dim_table1[x] ) && ISFILTERED( dim_table1[y] ),
1,
0
),
ALLSELECTED ( dim_table3[z] )
)
Pat