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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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