Hello
We have a specific Calendar table for all date needs. Month day year Qtr MoM MMYYYY etc
I am looking to have a short month abbreviated column for graphs and such. I duplicated the date column (1/1/2015) and changed the type to TEXT in power query and did so in the front end in the model view under Data Type and changed format to Custom "mmm"
But now I have this issue where the month is Re-iterating. How do I fix this? I posted a pic of how its displaying and how it should look (right chart)
Solved! Go to Solution.
Don't duplicate the column and convert into text. In PQ, in a custom column named ShortMonth, use following formula
= Text.Start(Date.MonthName([Date]),3)
If you want to do in DAX
ShortMonth = FORMAT([Date],"mmm")
Don't duplicate the column and convert into text. In PQ, in a custom column named ShortMonth, use following formula
= Text.Start(Date.MonthName([Date]),3)
If you want to do in DAX
ShortMonth = FORMAT([Date],"mmm")
Hello
I tried the custom column formula but i get the following error:
Expression.Error: The name 'Text.start' wasn't recognized. Make sure it's spelled correctly.
What do i do with this?
It is Text.Start not Text.start. PQ is super sensitive to case.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
107 | |
27 | |
17 | |
15 | |
10 |
User | Count |
---|---|
107 | |
30 | |
27 | |
23 | |
17 |