Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
LT4RFF
Regular Visitor

How do I convert the date from 31 August 2024 to August 2024

Hello,

 

Get used to seeing my name - I will be here for a while.

 

Issue #1

 

I have a data set that has a 'Reporting Period' column.

In this column the date format reads '31 August 2024'.

I would like to change this to 'August 2024' in Power Query so that when it comes to creating a dashboard in Report View I am able to create a drop down box with 'August 2024, September 2024, October 2024' etc etc.

 

How do I do that please?

1 ACCEPTED SOLUTION

@LT4RFF So, in my opinion, you should control that in Power BI Desktop. If you select the column in Power BI Desktop ( not Power Query Editor ) then you can modify the display format in the Column tools tab of the ribbon:

Greg_Deckler_0-1727742840909.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
Omid_Motamedise
Memorable Member
Memorable Member

See this formula

 

= Date.ToText(Date.From("31 August 2024"),"yyyy MMMM")

v-xinruzhu-msft
Community Support
Community Support

Hi,

Thanks for the solution Greg_Deckler offered, and i want to offer some more information for user to refer to.

hello @LT4RFF , you can add a new custom column to format the date.

=Date.ToText([Date], [Format="MMMM yyyy", Culture="de-DE"])

vxinruzhumsft_0-1727754105988.png

Then you can put the new column to the slicer.

vxinruzhumsft_1-1727754144615.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

@LT4RFF Is that column an actual date column or is it a text column?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler It's an actual date column. The cells are formatted to date on the original excel spreadsheet

@LT4RFF So, in my opinion, you should control that in Power BI Desktop. If you select the column in Power BI Desktop ( not Power Query Editor ) then you can modify the display format in the Column tools tab of the ribbon:

Greg_Deckler_0-1727742840909.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler Thank you that was the easiest way of doing it

@v-xinruzhu-msft & @Omid_Motamedise Thank you - I tried your ways first and got into all sorts of confusing issues. My skills in PBI are minimal.

 

I'll be back with more questions soon!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.