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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
xadya
Frequent Visitor

Twitter datetype to Power BI date type

Hey,

 

I have Twitter date that have a specific Twitter format for date:

Sun Oct 15 15:55:29 +0000 2017

 

I would like this to be:

15 10 2017

 or any workable variation on this. Is there any way to do this in Power BI?

1 ACCEPTED SOLUTION
ChandeepChhabra
Impactful Individual
Impactful Individual

@xadya I am assuming the format of twitter dates doesn't change at all

 

  1. Using powerquery extract the year and the date
  2. Create a separate Months table with Month Name and Month Index (1-12)
  3. Then write a calculated column to combine all 3 (year, month, date) into a single date

Here is the output

 

Capture.PNG

 

You can download the PowerBI

View solution in original post

2 REPLIES 2
ChandeepChhabra
Impactful Individual
Impactful Individual

@xadya I am assuming the format of twitter dates doesn't change at all

 

  1. Using powerquery extract the year and the date
  2. Create a separate Months table with Month Name and Month Index (1-12)
  3. Then write a calculated column to combine all 3 (year, month, date) into a single date

Here is the output

 

Capture.PNG

 

You can download the PowerBI

This works like a charm. Thank you so much!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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