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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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