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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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