Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
hi ,
How can i load data into power bi as text : example 0090015?
the first 3 record in my data loaded , it trim the first 2 zero
Here is the link to my file
https://1drv.ms/x/s!ApIDnMK2eKiFgQcBMkuQB3U0lybN?e=uigm9J
thanks
Solved! Go to Solution.
Hi @ktt777 ,
I have checked your data source. The original data doesn't contain "00".
There are two ways that can implement it. You could follow my step to have a try.
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings
Column = FORMAT(test[Project (7 digits)],"00#####")
https://docs.microsoft.com/en-us/dax/format-function-dax
Hi,
You can add a Custom column as
Leading zeros = Text.PadStart(Number.ToText([Column2]),7,"0")
It should resolve your problem.
Thanks
Hi,
You can add a Custom column as
Leading zeros = Text.PadStart(Number.ToText([Column2]),7,"0")
It should resolve your problem.
Thanks
Try to select that column and change it's format to Text.
when i change to text, it trim the first 2 zeros
@ktt777 , OPen data transformation mode, Right-click on Table. Open Advance editor.
It should have a data type there. Is the the data type is text and it is still removing leading 0 ?
yes, the data type is text but the zeros are removed
Do you know what is the difference in data in cell B5 and B7.
Data in cell B7 will be kept, only zeros in B5 are removed
Thanks.
Hi @ktt777 ,
I have checked your data source. The original data doesn't contain "00".
There are two ways that can implement it. You could follow my step to have a try.
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings
Column = FORMAT(test[Project (7 digits)],"00#####")
https://docs.microsoft.com/en-us/dax/format-function-dax
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |