cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

How to add MonthName(English) and DayName(English) to DimDate?

How to add by Dax or any script? 

If you have script to create entire DimCalendar, please advice me how to execute in Power BI Desktop?

 

PowerBI_Calendar.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User I
Super User I

Re: How to add MonthName(English) and DayName(English) to DimDate?

@kenny_i -

 

@parry2k gave you the function for Power Query (M).

Try: 

= FORMAT('Table'[Date],"MMMM") 

 

Additionally, Power Query has the function  Date.MonthName( ) which returns the full month name.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
Highlighted
Super User IV
Super User IV

Re: How to add MonthName(English) and DayName(English) to DimDate?

@kenny_i add new custom column with following M Code

 

Date.ToText([Date], "MMM" )

 






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Highlighted
Super User IV
Super User IV

Re: How to add MonthName(English) and DayName(English) to DimDate?

@kenny_i if you want full month name

 

Date.ToText([Date], "MMMM" )

 






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Highlighted
Helper IV
Helper IV

Re: How to add MonthName(English) and DayName(English) to DimDate?

Any advice?

 

PowerBI_MonthName.png

Highlighted
Super User I
Super User I

Re: How to add MonthName(English) and DayName(English) to DimDate?

@kenny_i -

 

@parry2k gave you the function for Power Query (M).

Try: 

= FORMAT('Table'[Date],"MMMM") 

 

Additionally, Power Query has the function  Date.MonthName( ) which returns the full month name.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors