cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jnn4282
Helper II
Helper II

Data Filter

Please help me to find out the solution.

My file is attached. I am trying to analyze customer app data.

Where total registered customers are 5 and they are 3 Male and 2 Female.

They are frequent users. I want to figure out how many Male and Female members get registered during certain months.

The First Matix table gives me the correct number but If the second one counts whole entry data.

Can you help me to fix this?

Thanks in advance

 

jnn4282_0-1653285014365.png

 

 

https://we.tl/t-n7H9s3HgQP

1 ACCEPTED SOLUTION
Shishir22
Super User
Super User

Hello @jnn4282 ,

 

This should give you expected result-

 

Male = CALCULATE(DISTINCTCOUNT(Sheet1[ID]),Sheet1[Gender]="M")

 

Shishir22_0-1653286304870.png

 

Please mark it as answer if it solves your issue. Kudos are also appreciated.

 

 

Cheers,
Shishir

View solution in original post

2 REPLIES 2
jnn4282
Helper II
Helper II

Thank you, Shishir, for your support. Big Kudos to you.

 

Shishir22
Super User
Super User

Hello @jnn4282 ,

 

This should give you expected result-

 

Male = CALCULATE(DISTINCTCOUNT(Sheet1[ID]),Sheet1[Gender]="M")

 

Shishir22_0-1653286304870.png

 

Please mark it as answer if it solves your issue. Kudos are also appreciated.

 

 

Cheers,
Shishir

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors