Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a calculated column in a table that returns values from 1 to 12. However I want them to be registered as 01, 02 etc. in double digits in the table. Please let me know if this is possible and how! Thanks!
Solved! Go to Solution.
Hi @Anonymous
Use FORMAT Dax function, try this code to add a new column:
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Thanks, tried it but doesn't seem to work 🤷♂️
So here is the full story I guess - in the original data there is a column (text) called Period. It has values like 2019-1, 2019-2, 2019-3, ... , 2019-12.
Now I split this column as per delimiter and got another column (text) called Period_Month. That has values like 1, 2, 3, ..., 12.
I transformed this text column into a number column. Now when I use the format function on it, it gives the same result and nothing changes!
Hi @Anonymous
Use FORMAT Dax function, try this code to add a new column:
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
63 | |
53 | |
39 | |
25 |
User | Count |
---|---|
85 | |
57 | |
45 | |
43 | |
38 |