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

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
Community Champion
Community Champion

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!:
DAX For Humans

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
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.