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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Paulyeo11
Impactful Individual
Impactful Individual

How to add G in front of 3 ?

Paulyeo11_0-1606452905473.png

 

2 ACCEPTED SOLUTIONS
PhilipTreacy
Super User
Super User

Hi @Paulyeo11 

You could add a Custom Column and use this 

 

"G" & Text.From([G_TYPE])

 

 

add-g.png

Because your G_TYPE column is storing numbers you need to convert them to text using Text.From before joining the G.

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

manikumar34
Solution Sage
Solution Sage

@Paulyeo11 , 

 

You can add prefix somply whcih is a easiest way to do. 

manikumar34_0-1606798468404.png

 

manikumar34_1-1606798487441.png

 

Follow the above stesp to make it. 

Else you can add the below M query on advance editor. 

= Table.TransformColumns(#"Changed Type", {{"Column1", each "G" & Text.From(_, "en-US"), type text}})

 

Regards,

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




View solution in original post

4 REPLIES 4
manikumar34
Solution Sage
Solution Sage

@Paulyeo11 , 

 

You can add prefix somply whcih is a easiest way to do. 

manikumar34_0-1606798468404.png

 

manikumar34_1-1606798487441.png

 

Follow the above stesp to make it. 

Else you can add the below M query on advance editor. 

= Table.TransformColumns(#"Changed Type", {{"Column1", each "G" & Text.From(_, "en-US"), type text}})

 

Regards,

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




PhilipTreacy
Super User
Super User

Hi @Paulyeo11 

You could add a Custom Column and use this 

 

"G" & Text.From([G_TYPE])

 

 

add-g.png

Because your G_TYPE column is storing numbers you need to convert them to text using Text.From before joining the G.

Regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


v-deddai1-msft
Community Support
Community Support

Hi @Paulyeo11 ,

 

You can also use Column from examples and type the example for the first value.

Capture.PNGCapture1.PNG

Capture2.PNG

 

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

 

Best Regards,

Dedmon Dai

 

amitchandak
Super User
Super User

@Paulyeo11 , Create a new column as

New column = "G" & [G_TYPE]

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.