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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.