Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Finding Course Instructor name for two particular courses.

Hello Ashish 

 

I have an ORIGINAL TABLE where I have the following columns:

 

Student NameStudent IDCompleted CourseCourse Completion Course Instuctor Name
John1234MAT11Dr Yun
John1234MAT 31Dr Paul
John1234ECO 2 1Dr Man
Liz7896MAT11Dr Yun
Liz7896MAT 31Dr Paul
Liz7896ECO 2 1Dr Man

 

 

Then I created a "TABLE VISUAL" in Power BI to get the following table where I have used 

CONCATENATEX(VALUES....) function to show all the completed courses in 1 row. 
But I cannot get the right most two expected columns. 
 
Can anyone kindly assist to get the righmost two columns.
 
Thanks in advance for your time and consideration.
 
 
Student NameStudent IDCompleted coursesCourse Completion

(Expected Column)

Course Instructor name for MAT1

(Expected Column)

Course Instructor name for MAT 3

John123MAT 1, ECO2, MAT31Dr YunDr Paul
Adam1236MAT 11Dr YunCourse not found
Sara1125ECO 21Course not foundDr Xuan
Liz7896MAT31Course not foundDr Paul
 

3 Replies