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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply

Need calculating column like If the duplicates records in the column then Processed else new

If the record exists more than one time in the column then that record is processed or else new 

I need calculated column like type 

id type

2   Processed

2   Processed

4   New

5   New

6   Processed

6   Processed

6   Processed

7   New

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

Hi @Venkateswara_ra ,

 

Create a Calculated Column

 

Type1 =

var a = CALCULATE(COUNT('Table'[id]), ALLEXCEPT('Table','Table'[id]))

RETURN

IF(a=1,"New","Processed")
 
 
1.jpg
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

2 REPLIES 2
harshnathani
Community Champion
Community Champion

Hi @Venkateswara_ra ,

 

Create a Calculated Column

 

Type1 =

var a = CALCULATE(COUNT('Table'[id]), ALLEXCEPT('Table','Table'[id]))

RETURN

IF(a=1,"New","Processed")
 
 
1.jpg
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Thanks Harsh Nathani

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.