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 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors