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 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |