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, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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