Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a column with different numerical values.
For example
1
2
10
100
I want to realise that al numirical values exist of 3 numbers, so it becomes:
1 becomes 001
2 becomes 002
10 becomes 010
100 stays 100
Whats the formula behind this
Solved! Go to Solution.
In Power Query add a conditional column B, with the following condition:
if Column A <9 then 00,
if Column A < 99 then 0
else null.
Next, you merge the newly created column B with the created column A.
Kudos and mark as solution appreciated.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
96 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |