Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Community,
Could anyone please help me to concatenate two whole number column into single measure?
Thanks,
-Arul
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
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
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
Hi,
Look for this example:
Is it works in yor case?
Hi @mauriciosotero ,
Here you could see the error which i have facing while using the above formula.
Thanks,
-Arul
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
Can you share a print screen of your visualization and a sample of the data?
Hi @mauriciosotero ,
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
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
39 | |
35 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |