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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply

How do I combine two columns if it contains the symbol '%'

I want to combine column 'Metric Value' with 'Metric Unit' only if 'Metric Unit' contains the percentage symbol, otherwise just return the metric value without the symbol. 

 

daniellamoore29_0-1695748912889.png

 

3 REPLIES 3
parry2k
Super User
Super User

@daniellamoore29 the only concern with this approach would be that it will make the [Metric Value] column as text and you will not be able to perform any calculations on it. So you have to think through the final use case of this concatenated column, is it just for display or do you need to perform some aggregations/calculations on it?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k I've had to separate out Metric value with it's symbols for calculations. 

So for example a metric value might be a number or a percentage. 

 

I want to then push through metric value through to a power BI visual, however if it's 95% it will only show 95 so they don't know if it's a percentage. 

 

Therefore if metric unit contains a % symbol, I want to combine this with the metric value, but I don't want the number (#) symbol to be combined as this is obvious and I dont want it to show 95# only 95%

parry2k
Super User
Super User

@daniellamoore29 what?? If % symbol then what? Can you provide the example output?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors