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 all ,
I want to combine 2 text fields and 2 number fields , but i keep getting the error Expression . Error : We cannot convert the value to type Logical.
Some Raw Data :
TextField1 | NumberField1 | TextField2 | NumberField2 |
India | 4500 | Apples | 14749 |
US | 6500 | Nuts | 65757 |
UK | 8500 | Peas | 43442 |
I need to combine them to one column like :
India - 4500 - Apples - 14749
Any help appreciated, thanks.
Solved! Go to Solution.
@Anonymous
please try this.
=[Column1]&"-"&Number.ToText([Column2])&"-"&[Column3]&"-"&Number.ToText([Column4])
Proud to be a Super User!
@Anonymous
Is this what you want?
Column = 'Table (2)'[Column1]&"-"&'Table (2)'[Column2]&"-"&'Table (2)'[Column3]&"-"&'Table (2)'[Column4]
Proud to be a Super User!
Yes , but in power query , isnt this in DAX?
Sorry to not have mentioned that.
@Anonymous
please try this.
=[Column1]&"-"&Number.ToText([Column2])&"-"&[Column3]&"-"&Number.ToText([Column4])
Proud to be a Super User!