How to show the data reported horizontally:(For example:)employee skill1 a1 b1 c2 d2 e2 fReport result:1 abc2 def
Assuming 3 records per grouped item:
1. Group on employee
2. Create a running count based on the skill field.
3. Create 3 calculated columns based on the count field.
Call them skill1, skill2, skill3:
if (count = 1) then (skill) else null
if (count = 2) then (skill) else null
if (count = 3) then (skill) else null
4. Create 3 more calculated columns using the maximum function. Call them maxskill1, maxskill2, maxskill3
maximum (skill1)
maximum (skill2)
maximum (skill3)
5. Group on employee on maxskill1 on maxskill2 on maxskill3
6. report employee axskill1 maxskill2 maxskill3
-
Interview Candidate
- Oct 9th, 2005
- 4
- 8176
Showing Answers 1 - 4 of 4 Answers
Related Answered Questions
Related Open Questions
How to show the data reported horizontally:(For example:)employee skill1 a1 b1 c2 d2 e2 fReport result:1 abc2 def
1. Group on employee
2. Create a running count based on the skill field.
3. Create 3 calculated columns based on the count field.
Call them skill1, skill2, skill3:
if (count = 1) then (skill) else null
if (count = 2) then (skill) else null
if (count = 3) then (skill) else null
4. Create 3 more calculated columns using the maximum function. Call them maxskill1, maxskill2, maxskill3
maximum (skill1)
maximum (skill2)
maximum (skill3)
5. Group on employee on maxskill1 on maxskill2 on maxskill3
6. report employee axskill1 maxskill2 maxskill3
Related Answered Questions
Related Open Questions