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

Date format Google analytics

Hello Community, I wanted to ask you how I change the format of the Google Analytics dates so that the Power BI does not recognize it as a number.

power bi3.png

1 ACCEPTED SOLUTION

I've used a long way: get 3 separate columns: day, month, year.

Convert them into text.

Merge into single column with dots or dashes between columns.

Convert into date format.

View solution in original post

8 REPLIES 8
New Member

The same for me - date from Google Analytics comes in YYYYMMDD format and I cant find locale or some handy way to convert it into data type in PBI

Microsoft
Microsoft

Hi @jracer007,

 

You can change data type in Query Editor mode.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I've used a long way: get 3 separate columns: day, month, year.

Convert them into text.

Merge into single column with dots or dashes between columns.

Convert into date format.

View solution in original post

How did you unite them?

power bi7.png

Thanks, I'll try with that if it works.

It marks me error in the fields.

Hi @jracer007,

 

What error message did you get? What is the date formate like in Google Analytics?

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The format is yyyyMMdd

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors