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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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