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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
YerlaSDU
Helper I
Helper I

How to show only duplicate column in visual

Hi Folks,

 

I have Table and 2 columns.

How to show only dublicate values by Description column in Manufacturer Column?

f.e: IMPELLER description has 3 manufacturer values

YerlaSDU_0-1714464276024.png

for some reason, this code doesn't help

Duplicate =

IF (

    COUNTROWS ( FILTER ( 'DCMM MaterialsManagement', 'DCMM MaterialsManagement'[DESCRIPTION] = EARLIER ( 'DCMM MaterialsManagement'[MANUFACTURER] ) ) )

        > 1,

    "YES",

    "NO"

)
1 ACCEPTED SOLUTION
Chakravarthy
Resolver II
Resolver II

Hi @YerlaSDU 

 

Please try - 

Duplicate =
IF (
COUNTROWS ( FILTER ( 'DCMM MaterialsManagement', 'DCMM MaterialsManagement'[DESCRIPTION] = EARLIER ( 'DCMM MaterialsManagement'[DESCRIPTION] ) ) )
> 1,
"YES",
"NO"
)

View solution in original post

1 REPLY 1
Chakravarthy
Resolver II
Resolver II

Hi @YerlaSDU 

 

Please try - 

Duplicate =
IF (
COUNTROWS ( FILTER ( 'DCMM MaterialsManagement', 'DCMM MaterialsManagement'[DESCRIPTION] = EARLIER ( 'DCMM MaterialsManagement'[DESCRIPTION] ) ) )
> 1,
"YES",
"NO"
)

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.