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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ARomain
Helper I
Helper I

Count ID by Region when data is duplicated

I am trying to create a new measure that counts data, but I have an issue with the way data is given to me.

 

One row will show when an organ was accepted and then transplanted. In the example below, Chicago accepted a right kidney, and it did end up going to a recipient. However, the left kidney was accepted in an offer not in the data, and it ended up going to New York. However, sometimes, the data will repeat (this data is given to me).

 

ARomain_0-1710435299620.png

 

I want to disregard the middle row. Chicago did do the right kidney but not the left, as indicated by row 3. However, New York did the Left Kidney, but was not offered it fomally. Is there a way to create a measure that disregards the second row since row 3 has the correct data for Chicago and since row 1 is unique with New York?

 

By ID, I want the measure to count as....

New York=1

Chicago=1

 

1 REPLY 1
v-tianyich-msft
Community Support
Community Support

Hi @ARomain ,

 

What is the basis of this count, why blank is also regarded as a count, to be able to more detailed elaboration of your needs well.

 

Best regards,
Community Support Team_ Scott Chang

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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