Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All
I have a single table.
I want to merge 3 columns and name as first column.
First column has a datatpe Text .
Second column Whole Number.
Third column Whole number.
First column has single Alphabets.
sample data
column 1: A
column 2: 007
column 3: 911
I want to dispaly as
A-007-911
Thanks in advance.
Solved! Go to Solution.
I did. Thanks for your help. I used mege feature of Power Bi. I highlighted 3 columns and used merege coulmns featur.
I did. Thanks for your help. I used mege feature of Power Bi. I highlighted 3 columns and used merege coulmns featur.
If columns 2 and 3 are numeric types, then you'll need to convert to text before combining and pad with zeros.
Try a custom column like this:
[Column1] & "-" & Text.PadStart(Text.From([Column2]), 3, "0")
& "-" & Text.PadStart(Text.From([Column3]), 3, "0")
Thanks
I changed dataype to text for column 2 & column 3.
Did you write a measure above?
I have multiple fields.
No. This is a calculated column using the M language in the query editor.
Measures use DAX.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |