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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.