This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 28 | |
| 23 | |
| 23 |