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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
k31453
New Member

Matrix - Sorting Female and Male based on Movie they been cast to.

Hi,

 

I have following tables:

 

 

ACTOR TABLE:


1.PNG

 

 

 

 

 

 

 

 

 

 

CAST TABLE:

 

2.PNG

 

MOVIE TABLE:

 

 

3.PNG

 

 

What I want is something like this:

Capture.PNG

 

 

 

 

 

 

 

Basically I want to display number of actors in each movie by Gender. I attempted using Matrix. However, the number i am looking at is incorrect. How can I solve the problem. Should I use New measure? 

4.PNG

 

 

1 ACCEPTED SOLUTION

Yes I did. Relationship is not problem. It fixed by the way. I have to use Actor No from Casting table. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hello @k31453 

 

Could you please share me dax expression for this (sorting female and amle )

MFelix
Super User
Super User

Hi @k31453,

Do you have all your relationships correct? And did you select the correct summatize function for M/F you need the count.

Regards
Mfelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Yes I did. Relationship is not problem. It fixed by the way. I have to use Actor No from Casting table. 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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