Forum Discussion
Add space tab Dax
- 6 years ago
Hi Rohini ,
For DAX, you could use the formulas that az38 suggests. For M, you could try below:
= Table.AddColumn(#"Changed Type", "Custom1", each Text.Insert(Text.From([Column1]),2," "))= Table.AddColumn(#"Changed Type", "Custom", each " " & [Column1])And there is a thread about add space in the middle. You could reference to have a try,
https://community.powerbi.com/t5/Power-Query/Find-a-string-add-a-space-in-the-middle/m-p/714533
If these can't help you, please share some sample data and expected output. We will understand clearly about your request.
Hi Rohini ,
For DAX, you could use the formulas that az38 suggests. For M, you could try below:
= Table.AddColumn(#"Changed Type", "Custom1", each Text.Insert(Text.From([Column1]),2," "))
= Table.AddColumn(#"Changed Type", "Custom", each " " & [Column1])
And there is a thread about add space in the middle. You could reference to have a try,
https://community.powerbi.com/t5/Power-Query/Find-a-string-add-a-space-in-the-middle/m-p/714533
If these can't help you, please share some sample data and expected output. We will understand clearly about your request.