Is there a way to not omit the leading zeros when ...
# general
l
Is there a way to not omit the leading zeros when downloading a saved search via CSV? I tried using formula text but it still does not work. (can download in xls but csv is preferred)
m
I think you can use a numeric fomrula and use TO_NUMBER({field}).
So TO_NUMBER(‘000123’) will show 123
d
When you perform the search, are you seeing
000123
? If so, your downloaded CSV will also contain
000123
. If this is the case, it's probably because you're opening the CSV in an application, like Excel, that detects the content of column/cell and converts it into a number. If you want to stick with excel, you have a couple of options. All of which involve some kind of import wizard and selecting to not auto-detect data types. • The legacy text import wizardThe new (power query based) import wizard
I run into this occasionally and, unless it's a particularly large saved search (for which exporting as CSV tends to be much faster), I will just export as .xls¹ and save it as csv after ¹which ofc are actually .xml files...
l
Thanks!