![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I've a lot of cubes which contain activities and contracts information. each row in my datawarehouse has a start date and a end date EmploeeID;Start Date;End Date;JobID;Salary... My users want to select any day in a year and display the number of "active employees" and the total salary of all the contracts at the date. So, in SQL, I'm using a between statement. select * from contracts where UserDate between StartDate and EndDate but how to do the same job in a cube? the employee's job can change at any time. I'll have 2 measures: 1 distinct count on the employeeid and a sum of salaries. what is the easy way? Thanks Jerome |
![]() |
| Thread Tools | |
| Display Modes | |
| |