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

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 I
Helper I

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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Solution Authors