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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 67 | |
| 59 | |
| 45 | |
| 19 | |
| 15 |