Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

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 3
Anonymous
Not applicable

wdx223_Daniel
Super User
Super User

Course Instructor name for MAT1 = COALESCE(CALCULATE(MAX(YourDataTable[Course Instuctor Name]),YourDataTable[Completed Course]="MAT1"),"Course not found")
Anonymous
Not applicable

Hello Daniel,

 

I used your code, selected the Datatable but I am only getting "Course not found" . I have checked the particular course is present in the course list yet its returning "Course not found". 

 

JJ91_0-1677826672280.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.