Forum Discussion
ktt777
6 years agoHelper V
Loading data into powerbi
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!ApIDn...
- 6 years ago
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.
- In Model view > choose Whole number and Custom format : 00#####
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings
- Create a formula using FORMAT()
Column = FORMAT(test[Project (7 digits)],"00#####")https://docs.microsoft.com/en-us/dax/format-function-dax
- 6 years ago
Hi,
You can add a Custom column as
Leading zeros = Text.PadStart(Number.ToText([Column2]),7,"0")
It should resolve your problem.
Thanks
Tahreem24
6 years agoSuper User
Try to select that column and change it's format to Text.