![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Does anyone have an idea about creating Calculated members in Analysis server . If the following are entries in a table ---------------------------- A B Cdate Ddate ------------------------------ 1 K1 1/3/2003 1/6/2003 2 K1 2/3/2003 2/4/2003 3 K2 2/3/2003 2/10/2003 I need to find the Average of the diffrecnce of the 2 dates for each location (K1 and K2) ie. avg(DATEDIFF (d,Cdate,Ddate)) . How do i get this in AS ? I cannot find an AVG or Datediff function when I go to Edit - New Calculated Memebr . In the previous I want the result to show K1 2 (3 days + 1 day = 4/2 = 2) K2 7 (7 days = 7/1 = 7) thnks -- Dev Noronha Posted via http://dbforums.com |
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |