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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lindagoos
Microsoft Employee
Microsoft Employee

Recategorizing data in PowerBI Desktop

I am trying to recategorize a column so that the column updates from "Priority" to "New Priority".  Each row has a unique ID.  Based on that ID, I want to identify whether it should remain as a priority 1, change to priority 1-scorecard or change from Priority 2 to priority 1.  I will need to add about 115 unique IDs to be changed to 1-scorecard and just 1 unique ID to change from Priority 2 to Priority 1-scorecard.  My data also includes Priority 3 but those will remain the same. Any help is very much appreciated!

 

ID

Priority

New Priority

Abc-123

1

1-scorecard

Abc-456

1

1

ABC-789

1

1

DEF-123

1

1-scorecard

DEF-456

1

1-scorecard

DEF-789

1

1

GHI-123

2

1-scorecard

GHI-456

2

2

2 REPLIES 2
camargos88
Community Champion
Community Champion

@lindagoos ,

 

What logic do you need to apply ??



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



I basically need to say, if it contains any of the 115 unique Ids in column 1, then it is 1-scorecard.  If it contains another unique ID(s) in column 1, then it is 2-scorecard. If, it is any other of the unique IDs, the priority remains the same.

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.

Top Solution Authors