Forum Discussion
display date in graph like "mmm"
- 10 years ago
Either you can create a new calculated column and use format function or
Go to the Query editor, Select the Transform Tab and in the fifth section (Date & Time Column), Select Date drop down , Go to the Month and Select fifth option "Name of Month", Load the Query after you are done.
This is easy and just few clicks on the ribbon.
- Anonymous10 years ago
Hi pedroccamara,
You can use calculated column for this purpose.
monthname = text(date,"mmm")
where monthname is the name of the calculated column,date is the is the name of the column which is carrying all qualified dates.
Hope it helps.
- 10 years ago
Hi Pedro,
u can create a new column like this:
You can make a new table calendar. See this video (in portuguese)
https://www.youtube.com/watch?v=1_CG6W_ypgk
EDIT. to order by month see this one
https://www.youtube.com/watch?v=BEz38TAROuQ&t=14m57s
abs
eduardo
- 10 years ago
creat a column number of month
https://www.youtube.com/watch?v=BEz38TAROuQ&t=7m10s
order by
https://www.youtube.com/watch?v=BEz38TAROuQ&t=14m40s
abs
eduardo
Hi pedroccamara,
You can use calculated column for this purpose.
monthname = text(date,"mmm")
where monthname is the name of the calculated column,date is the is the name of the column which is carrying all qualified dates.
Hope it helps.
Hi Hemant,
Just to Clarify, PowerBI doesn't have TEXT Function like Excel. DAX has FORMAT Function and the Syntex for this function is similar to TEXT Function in Excel.
MONTH NAME=FORMAT(TABLE[COLUMN NAME], "MMM")
- Anonymous10 years agoNot applicable
- pedroccamara10 years ago
Helper II
ok then.
After i've created a new column with only first 3 letters from month, they're not showing me in order....but alphabeticaly.
Can i do something about it?
- eduardo10 years ago
Advocate II
Hi Pedro,
u can create a new column like this:
You can make a new table calendar. See this video (in portuguese)
https://www.youtube.com/watch?v=1_CG6W_ypgk
EDIT. to order by month see this one
https://www.youtube.com/watch?v=BEz38TAROuQ&t=14m57s
abs
eduardo
- pedroccamara10 years ago
Helper II
Olá Eduardo
The problem is that when i get my report, month in columns and the detail next on lines, it shows me (on columns) first April, August, etc. instead of Jan, Feb, etc.
That means still in the same way as b4.
At least i've learn how to do a calendar file.
And yes i did associate that new calendar table to the other one and use the new column (mmm).
But it didn't work.
Did i miss something?
Obrigado
1 abc
Pedro