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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to get "Different type/level" for a particular course column

I have a student record dataset. I need to find out how many students are enrolled in each course, and what are their student levels (UG or GR). When I am dragging the "Student level" from the field pan, for one particular course, I am getting two rows - one for UG , another for GR. I need to show the student level in the same row.

 

How can I do this?

 

 

JJ91_1-1675736114262.png

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Anonymous 

try to replace the student_level field with a measure like:

LevelMeausre =
CONCATENATEX(
    VALUES(TableName[Student_Levvel]),
    TableName[Student_Levvel],
    ", "
)

 

View solution in original post

2 REPLIES 2
FreemanZ
Super User
Super User

hi @Anonymous 

try to replace the student_level field with a measure like:

LevelMeausre =
CONCATENATEX(
    VALUES(TableName[Student_Levvel]),
    TableName[Student_Levvel],
    ", "
)

 

Anonymous
Not applicable

@FreemanZ  It worked. Thanks a lot. I really appreciate your time. Thank you for your solution.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.