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
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.