
Data Visualization 📊 #GoogleDataStudio #GoogleSheets
Colombo, Sri Lanka
Joined February 2020
- Tweets116
- Following82
- Followers167
- Likes316
Replying to @mim_djo
Just tested this out - currently MAX (or MIN) Date displays a Date whether it's a Data Source-level or Chart-level field.
Editable Google Data Studio Report:
datastudio.google.com/report…
1
Replying to @NGayanP @techupover
A quick edit to the order of Dates in #1:
DATETIME_DIFF(End_Date, Start_Date, SECOND)
Also, for future reference, as of the 17 Sep 2020 update to Date and Times, use the newer DATETIME_DIFF instead of DATE_DIFF
support.google.com/datastudi…
Replying to @techupover
As much as I love RegEx - there's now a much simpler way which works with DateTime as well as Date fields :)
1) HH:MM:SS
DATETIME_DIFF(Start_Date, End_Date, SECOND)
2) Type (HH:MM:SS)
Number > Duration (Sec.)
3) Aggregation (HH:MM:SS)
AVG
Source: stackoverflow.com/a/63989605…
1
3
CURRENT_DATETIME function in #GoogleDataStudio with 3 use cases:
1) Default (UTC)
CURRENT_DATETIME()
2) Time Zone (e.g. EST)
CURRENT_DATETIME("EST")
3) Location (e.g. Sri Lanka)
CURRENT_DATETIME("Asia/Colombo")
Report: datastudio.google.com/report…
Post: stackoverflow.com/a/64193189…
Replying to @mim_djo
Currently works as expected (for future reference, tested it out 15 minutes ago and it was also displayed as a similar number, which was actually UNIX Time (seconds since epoch - 01 Jan 1970)
Editable Google Data Studio Report: datastudio.google.com/report…
1
2
New Date Time Functions in Google Data Studio :)
support.google.com/datastudi…
Replying to @mim_djo
Guess there's going to be a different way to work with Dates and Times :)
Was trying to create:
CAST(Date AS NUMBER)
Was surprised to see:
Invalid formula - Cannot cast from DATE to DOUBLE
1
1
Replying to @BIChiefHQ
A timely reminder :)
Haven't used the feature in a while; but it's been there (looking through some older posts) at least since 10 Jul 2019: support.google.com/datastudi…
It's also in the documentation:
support.google.com/datastudi…
1
1






