how to convert a Integer to Text value in Power BI

bmsqldev picture bmsqldev · Jun 24, 2016 · Viewed 80.4k times · Source

I am creating a calculated column in existing power BI report. the calculated column concatenates integer & text columns. I tried below query which give syntax error to me,

= Number.ToText(table1.[RegionID]) & " " &  table1.[RegionName]

I tried some other conversion methods which were not a success. Someone please guide me how to achieve the above scenario in power bi

Answer

Rafael Loureiro picture Rafael Loureiro · Dec 6, 2016

Try

= "Text" & Number.ToText(Number)