The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
I have a number like this 123456789. Can I use power query only (no formula) to trasfer it to 123-456-789. Thank you very much for the help in advance.
Solved! Go to Solution.
Here is one clickety-click way
If you need the orignal also, just duplicate the original column before applying the steps
Proud to be a Super User!
Paul on Linkedin.
Here is one clickety-click way
If you need the orignal also, just duplicate the original column before applying the steps
Proud to be a Super User!
Paul on Linkedin.
Amazing demo, thank you so much all of you.
Hi @PaulDBrown ! Pretty nice demonstration 🙂 Can you tell me which program did you use to record it ?
Sure!
Downloadable
Proud to be a Super User!
Paul on Linkedin.
Thank you so much!
In Power Query, Select the number column and select "Split Column" By Positions and enter 3 as number of characters. This will split the number into three columns. Then create custom column and enter formula "Number.ToText([Column1])&"-"&Number.ToText([Column2])&"-"&Number.ToText([Column3]). This will give you your desired result 123-456-789.
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |