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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Update same value in duplicate rows

Hi,

I need urgent help. I am trying to create a calculated column to update the New status in the same Item code.

 

for example: 

For Item BE96X new status should be "Missing Drawing/ Sample"

For Item BN98E New status should be "Not Started"

 

Note: Status should be selected by me which I want to update.

ItemStatusNew Status
BE96XMissing Drawing/ SampleMissing Drawing/ Sample
BE96XIn ProgressMissing Drawing/ Sample
BE96XCompleteMissing Drawing/ Sample
BN98EMissing Drawing/ SampleNot Started
BN98ENot StartedNot Started

 

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

Hi @Anonymous 

According to your description, I am not particularly clear if you want the fixed values of “new status” like the screenshot you gave or want to update the new status by the status you selected.

The two solutions are as follows.

1, the fixed values of “new status” like the screenshot you gave

Create a column.

 

Column =
IF ( 'Table'[Item] = "BE96X", "Missing Drawing/Sample", "Not Started" )

 

Final output:

vxiaosunmsft_0-1663147580987.png

2, update the new status by the status you selected

Create a measure.

 

new status2 =
SELECTEDVALUE ( 'Table'[Status] )

 

 Put “Item”, “Status” into slicer, the New Status will be updated according to the status you selected.

vxiaosunmsft_1-1663147637532.png

 

 

Best Regards,
Community Support Team _ xiaosun

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

1 REPLY 1
v-xiaosun-msft
Community Support
Community Support

Hi @Anonymous 

According to your description, I am not particularly clear if you want the fixed values of “new status” like the screenshot you gave or want to update the new status by the status you selected.

The two solutions are as follows.

1, the fixed values of “new status” like the screenshot you gave

Create a column.

 

Column =
IF ( 'Table'[Item] = "BE96X", "Missing Drawing/Sample", "Not Started" )

 

Final output:

vxiaosunmsft_0-1663147580987.png

2, update the new status by the status you selected

Create a measure.

 

new status2 =
SELECTEDVALUE ( 'Table'[Status] )

 

 Put “Item”, “Status” into slicer, the New Status will be updated according to the status you selected.

vxiaosunmsft_1-1663147637532.png

 

 

Best Regards,
Community Support Team _ xiaosun

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.