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
Arul
Super User
Super User

Number Concatenation as a Measure

Hi Community,

Could anyone please help me to concatenate two whole number column into single measure?

 

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


14 REPLIES 14
mauriciosotero
Resolver III
Resolver III

Hi,

 

Is it possible to use a calculated column? If yes, you can create:

 

New Column = CONCATENATE('Table'[Col1],'Table'[Col2])

If it helps, I apreciate you give a kudo and mark as the solution. Thanks

Hi @mauriciosotero ,

Thanks for your kind reply,

I want to create the measure not the calculated column.

 

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Hi,

 

If you need a measure, you may use:

 

Measure = CONCATENATE(SUM('Table'[Value1]),SUM('Table'[Value2]))

 

Hi @mauriciosotero ,

I just want to concatenate the two number columns in measure, I don't want to sum those columns before concatenating them. I hope you are getting my point.

 

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Hi,

 

The sum function is to create a context to the measure. In this case, if you have only one value for eache column in your matrix/table, the result of the sum is the value it self. You can also use another function, lile min or max, it will be the same.

Hi @mauriciosotero ,

My both column has close to 15 lakhs rows of record and i want to merge those columns using DAX as measure before applying any calculation over that measure, if i use min or max function it will take the min or max value over the column and it won't give my expected result.

Hope you are getting my point.

 

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Hi,

 

Look for this example:

 

Capture2.PNG

 

Is it works in yor case?

Hi @mauriciosotero ,

 

Capture.PNGHere you could see the error which i have facing while using the above formula.

 

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Replace the ";" 'for comma ","

Hi @mauriciosotero ,

That gave me the wrong result. Because that sums and then concatenate, i don't want to sum those columns before they concatenating.

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Can you share a print screen of your visualization and a sample of the data?

Hi @mauriciosotero ,Capture_1.PNG

 

Capture_2.PNG

 

Assume, I have 1lakh 15 thousand rows of data, here i have shared sample only. I need the output which was in first visual but when i creating the measure by using the formula which you gave i didn't get the expected output which was in the second visual.

Hope it helps!!

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


dax
Community Support
Community Support

Hi Arul,

You could use measure like below

Measure 5 = CONCATENATE(MIN(t4[a1]),MIN(t4[amount]))
or 
Measure 6 = MIN(t4[a1])&MIN(t4[amount])

Best Regards,
Zoe Zhi

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

Hi @dax ,

 

Could you please help me by clarifying why we were using MIN here. If we use min it will take the minimum value of the column.

 

Thanks,

-Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


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.