The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Other than converting a number column to Text is there any other way to keep the leading zeros on numbers in a column and also keep the column formatted as a Whole Number? The ID's are supposed to be 7 digits but when the leading zeros are dropped some of them drop to 4 digits and in some cases 5 digits because the other digits were zeros.
Hi,
In a calculated column, write this formula
=FORMAT(Data[column],"0000000")
Hope this helps.
@Ashish_Mathur- That converts it to Text, which is what he is trying to avoid.
Not that I am aware of.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
79 | |
71 | |
48 | |
39 |
User | Count |
---|---|
136 | |
108 | |
70 | |
64 | |
57 |