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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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