on 09-12-2014 10:33 AM
Dear Friends,
I have data like below in my Infocube for different years. its flat file loading DS->DSO->Infocube.
EmpId | Dept | section | Year | Smoking |
101 | HR | A | Jan-10 | No |
102 | HR | A | Jan-10 | Yes |
103 | HR | B | Jan-10 | Yes |
104 | FI | A | Jan-10 | No |
105 | FI | B | Jan-10 | No |
102 | HR | A | Aug-10 | No |
My requirement is like below to find out total number of employees who are Smokers and non smokers.
Dept | Year | Tot no of Emp | Tot Emp Smoking | Tot Emp non-smoking |
HR | 2010 | 3 | 2 | 1 |
FI | 2010 | 2 | 0 | 2 |
Result | 5 | 2 | 3 |
Please give me your valuable input
Thanks
Vijay
This should be easy
Regards,
AL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.