Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello everyone, I need your help.
I downloaded HTML & CSS viewer in Power BI Desktop and I try to write a DAX code in it. 
I can write a code for semesters and for courses separately but I could not put the courses according to their semesters to show what courses a student have passed in concrete semester. 
I could reach only this visual at this moment using these formulas below:
If it is not enough information here, I can send you a Powe BI example file with mail.
Thank you so much in advance,
@Natia , Try a measure like
CONCATENATEX(SUMMARIZE('Courses', 'Courses'[Semester ID],'Courses'[Course Name ]), " <tr > <td>Course Name</td> <td align='center'>" & 'Courses'[Semester ID ] & "</td> <td align='center'> Course Name </td><td>" & 'Courses'[Course Name ] &"</td> </tr>")
Thank you for your reply, but your code's result is:
I need this result:
so, first of all i need semester id and then subjects
Thank you for your attention.
I and Natia need this tasks solution very much
I wrote this code:
but i need semester id 38 in group
@irinabazghadze , Try like
CONCATENATEX(SUMMARIZE('Courses', 'Courses'[Semester ID],'Courses'[Course Name ]), " <tr > <td align='center'>" & 'Courses'[Semester ID ] & "</td> <tr > </tr> <td>" & 'Courses'[Course Name ] &"</td> </tr>")
i try it, but result is:
but i need semester id 38 in group (when subject is several)
for example:
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 84 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |