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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
BA1503
Frequent Visitor

Dax calculate max value, date, first text, based on criteria matching from 2 different tables

Hi,

 

I have two tables joined together with a many-to-many relationship with both as cross filter direction selected.

 

Table 1 - is a transaction table which shows all the exams and results a student has sat (1 student can sit many exams, therefore a row per exam sat)

 

Table 2 - is the management of these students and monitoring their activity/ engagement (not able to have this data in Table 1, manual data capture)

 

The tables have a common field (Student ID), and the relationship as mentioned above is many-to-many.

 

1.PNGCapture.PNG

What I would like to show is the information in the table, illustrated in a matrix format (above) as a timeline. So, in the matrix you would see a student sit an assessment(column), with the grade and date sat in the values. 

 

Is this achievable? 

 

Any help would be useful.

 

Thanks

 

AD

 

1 ACCEPTED SOLUTION
BA1503
Frequent Visitor

This issue is resolved now, I created a view in SQL based on the tables and structured it so that I can report as I want it to in power Bi.

View solution in original post

5 REPLIES 5
BA1503
Frequent Visitor

This issue is resolved now, I created a view in SQL based on the tables and structured it so that I can report as I want it to in power Bi.

Anonymous
Not applicable

Send a link to an example file, please. Thanks.

Best
Darek

Anonymous
Not applicable

This link DOES NOT WORK. I don't have permissions to view it. I'd suggest you place the .pbix file on OneDrive/GoogleDrive and give us the link. Don't forget to set the permissions correctly.

Best
Darek

Hi Darek,

 

Apologies can you try the link below.

 

https://drive.google.com/file/d/1lhVTCwiTLC1Oexw8ZyOrGN0b8sG8KKQZ/view?usp=sharing

 

Thanks

 

A

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.