![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, id, column1, column2, column3 -------------------------------------------------------------------------- 1 10 null 20 2 40 null 30 3 60 60 50 This is my fact table in data source . Values of column2 for row one and two are null. In the cube these null values treat as zero. That generate problem in my average calculated member. in this example that returns s 60/ 3 = 20. i want the average of not null values (60). Please help me to solve this problem Thanks in advance Subin |
#3
| |||
| |||
|
|
just define a calculated measure that uses "iif" to replace null-values with zero and calculate the average using this new calculated measure. that should do. "Subin" wrote: Hi all, id, column1, column2, column3 -------------------------------------------------------------------------- 1 10 null 20 2 40 null 30 3 60 60 50 This is my fact table in data source . Values of column2 for row one and two are null. In the cube these null values treat as zero. That generate problem in my average calculated member. in this example that returns s 60/ 3 = 20. i want the average of not null values (60). Please help me to solve this problem Thanks in advance Subin |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |