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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi there ;
I have a table with below columns on power bi
| Doc number | Material | Item No |
| 567 | MATA | 10 |
i need to merge this 3 column as below , and want to create a new column whichs will be called " new code"
| New code |
| 567MATA10 |
thnsk in advance for your supports
Solved! Go to Solution.
Hi @erhan_79 ,
I think you didn't read my solution properly.
My solutions was purely based on DAX expression not query editor m-code.
In query editor try something like this:
new code = Number.ToText([Doc number]) & [Material] & Number.ToText([Item No])
Thanks,
Pragati
Hi @erhan_79 ,
You can create a calcukated column using DAX expression as follows:
new code = CONCATENATE([Doc number], CONCATENATE([Material], [Item No]))
you will get the required result.
Thanks,
Pragati
Hi @erhan_79 ,
I think you didn't read my solution properly.
My solutions was purely based on DAX expression not query editor m-code.
In query editor try something like this:
new code = Number.ToText([Doc number]) & [Material] & Number.ToText([Item No])
Thanks,
Pragati
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 114 | |
| 107 | |
| 41 | |
| 34 | |
| 25 |