Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Dear all,
Format function seems not working like below capture screens.
Would anyone please clear which is wrong ; me or Power Bi?
Below is my purpose and problem details.
Purpose
Problems
Figure #1
Figure #2
Solved! Go to Solution.
Hi @extri13,
Firstly, there are several syntax errors in your formula, please change it to the following formula.
TEST = FORMAT( [no], "General Number")
Secondly, do you want to pick the last 4 digit numbers from your column in the second screenshot? If that is the case, you can use the following formula.
Test = RIGHT( [no], 4)
However, if the above formula doesn’t meet your requirement, please describe more details about which format of data you want to return.
In addition, for more details about how to use Format function, please review the following articles.
https://msdn.microsoft.com/en-us/library/ee634924.aspx
https://msdn.microsoft.com/en-us/library/ee634561.aspx
Thanks,
Lydia Zhang
Hi @extri13,
Firstly, there are several syntax errors in your formula, please change it to the following formula.
TEST = FORMAT( [no], "General Number")
Secondly, do you want to pick the last 4 digit numbers from your column in the second screenshot? If that is the case, you can use the following formula.
Test = RIGHT( [no], 4)
However, if the above formula doesn’t meet your requirement, please describe more details about which format of data you want to return.
In addition, for more details about how to use Format function, please review the following articles.
https://msdn.microsoft.com/en-us/library/ee634924.aspx
https://msdn.microsoft.com/en-us/library/ee634561.aspx
Thanks,
Lydia Zhang
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 26 | |
| 22 | |
| 22 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 35 | |
| 29 | |
| 21 | |
| 19 | |
| 17 |