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.
Solved! Go to Solution.
People, I think I could end up with a solution. I remember one of my last posts in this community, "How to Add a Custom Column Date like (01-01-16, 01-02-16, etc).
The solution was provided by @hohlick:
= Text.From([DAY]) & "-" & Text.From([MONTH]) & "-" & Text.From([YEAR])
So thinking about it, I have add four custom columns:
[Day] = 01;
[Month] = Date.Month(OriginalDate);
[Year] = Date.Year(OriginalDate);
FullDate = Text.From([Day]) & "-" & Text.From([Month]) & "-" & Text.From([Year])
So, I think this is far from the best solution, but it returned the desire outcome I was looking for.
If there is another way to get the same result, please let me know! 🙂
People, I think I could end up with a solution. I remember one of my last posts in this community, "How to Add a Custom Column Date like (01-01-16, 01-02-16, etc).
The solution was provided by @hohlick:
= Text.From([DAY]) & "-" & Text.From([MONTH]) & "-" & Text.From([YEAR])
So thinking about it, I have add four custom columns:
[Day] = 01;
[Month] = Date.Month(OriginalDate);
[Year] = Date.Year(OriginalDate);
FullDate = Text.From([Day]) & "-" & Text.From([Month]) & "-" & Text.From([Year])
So, I think this is far from the best solution, but it returned the desire outcome I was looking for.
If there is another way to get the same result, please let me know! 🙂
Hi Jaderson,
If your original column is of data type date, you can use:
NewDate = DATEADD(Table[OriginalDate], -1*DAY(Table[OriginalDate]) + 1, DAY)
If your original column is of data type text, you can use:
NewDate = "01" & RIGHT(Table[OriginalDate_String], 6)
HTH,
Jessica
DateFormat = FORMAT([Date],"dd/mm/yy")
Assuming your date is coming in as a Date.
@bajimmy1983 If you want to convert your column (follow the BLUE steps) if you want to create a copy of your column (the RED)
Let me know if you have any questions!
User | Count |
---|---|
77 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
99 | |
92 | |
50 | |
47 | |
46 |