cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

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

Accepted Solutions
Highlighted
Super User III
Super User III

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
Highlighted
Super User III
Super User III

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

Highlighted

Thanks Harsh Nathani

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors