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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
LT4RFF
New Member

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
Impactful Individual
Impactful Individual

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors