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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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