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
MarkB30308
Regular Visitor

Count Function Issue When Adding Additional Column

I have a table where I am trying to identify duplicate values based on a concatentation and then have the duplicate records shown to me.  In the example below, we have the LANE ID (CONCATENTATION) and the count of that lane ID.   However, once the Unique ID column is added, it displays LANE ID Count of 1 for each record even though there are clearly two LANE ID records (picture 2).  I had this tool working until this morning when I refreshed my data source and then accidentally saved over my previous version.  Does anyone know what I am missing that is causing it to not count properly?

COUNT 1.png

 (When summarized by LANE ID w/ count of LANE ID and filtered on values greater than 1.  I identify all duplicates however, when adding the Unique Identifier as shown below, I receive a blank document.   As I mentioned, this was working as of this morning and now I am unable to reproduce the same results after refreshing my data). 

COUNT 2.png

As seen below, after the filter of one is removed, the data is displayed but you can clearly see where there are duplicate lane ID's. 

 

 Count 3.png

 

Any help is greatly appreciated. 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@MarkB30308,

 

The [RATE_GEO_GID] is different. You may add a measure as shown below.

Measure =
CALCULATE (
    COUNT ( Table1[RATE_GEO_GID] ),
    ALLEXCEPT ( Table1, Table1[LANE ID] )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@MarkB30308,

 

The [RATE_GEO_GID] is different. You may add a measure as shown below.

Measure =
CALCULATE (
    COUNT ( Table1[RATE_GEO_GID] ),
    ALLEXCEPT ( Table1, Table1[LANE ID] )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you so much!  This worked perfectly!

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.