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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Concatenation Help

Hi

 

I need to concatenate a measure and a column

Example for Volume I have quantity

To find total volume I do sum(quantity), but the unit of measurement is in different column which is a string.

How do I combine both the values

Say 100 KG --> 100 comes from sum(quantity) and KG is present in different column.

 

Thanks

4 REPLIES 4
Greg_Deckler
Super User
Super User

New Column = [Measure] & " " & [Column]



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi Greg,

 

Really thanks for the prompt reply.

However I donot want a column, all I want is simple.

I have two colums, one quantity (numeric) and one UOM (text)

I want summation over quantity say sum(quantity) which gives me 100, now I need to put this value in chart and show the result as 100 KG...this KG comes from UOM column which is a string.

 

I would be obliged to connect with you, I work from India and support US hours. Let me know a way to connect to you.

Maybe whatsapp ? +91 8765045961

 

Best Regards

Anonymous
Not applicable

[Volume] & " " & SELECTEDVALUE( T[ColumnWithUnit] )

 

But if this works... it means the design is flawed 🙂

 

Best

D

Anonymous
Not applicable

Hi Greg,

 

Thanks for the help again. Unfortunately I am unable to put the filed in Value for a bar chart.

 

Regards

Anindya

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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