![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hello, I'm trying to filter out members with the following expression: FILTER(EXCEPT([Employees].Members,{[Employees].[All Employees]}),Employees.Properties("Gender") = "F") The problem is that the comparison between the property and a char doesn't work. If the property contains a string, like the following example: FILTER(EXCEPT([Employees].Members,{[Employees].[All Employees]}),Employees.Properties("Position Title") = "President") it works! Can anybody help? Thanks. |
#2
| |||||
| |||||
|
| Properties |
| SELECT |
|
As far as I know, property is always a string and I dont really see the difference between those two queries. What would be the datatype of 'Gender' column and what are the values in it? MC "Fernando Marçal" <FernandoMaral (AT) discussions (DOT) microsoft.com> wrote in message news:AEF61F82-8974-4939-9153-94D364AC0908 (AT) microsoft (DOT) com... Hello, I'm trying to filter out members with the following expression: FILTER(EXCEPT([Employees].Members,{[Employees].[All Employees]}),Employees.Properties("Gender") = "F") The problem is that the comparison between the property and a char doesn't work. If the property contains a string, like the following example: FILTER(EXCEPT([Employees].Members,{[Employees].[All Employees]}),Employees.Properties("Position Title") = "President") it works! Can anybody help? Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
| |