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

Adding a fixed value in a column

Is it possible to add "DK0010" in all rows in the column named CustomerNumber? 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Column = CONCATENATE("DK0010",Customer[CustomerNumber])

View solution in original post

You can achieve this with EDIT query - Select Customer ID Column  - Transform -Format - ADD Prefix

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@Anonymous 

Create a New column

CustomerNumber =  "DK0010"

Washivale
Resolver V
Resolver V

Hi @Anonymous ,

 

Images posted by you are not visible, however, if you want to add a static value in a column.

 

Create a column and add function column = "DK0010"

 

this will create a new column with static value on all rows.

 

Regards,

Washivale

Anonymous
Not applicable

Annotation (1).png

I hope the picture works now, but I need the values to be:

DK00105601153
DK00105604721 

etc 🙂

You can achieve this with EDIT query - Select Customer ID Column  - Transform -Format - ADD Prefix

Anonymous
Not applicable

Column = CONCATENATE("DK0010",Customer[CustomerNumber])

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.