NewPath-Consulting / warm

Pro Reports for Wild Apricot is a Google Data Studio connector that helps Wild Apricot administrators understand your organization’s membership engagement, renewal rates, and demographics. Trend your revenue and get expense analyses. Whatever your question, enjoy all the organized data you need at your fingertips to make the business decisions want.
https://newpathconsulting.com/warm
GNU General Public License v3.0
6 stars 4 forks source link

Date issues with our current date semantic #62

Closed asirota closed 4 years ago

asirota commented 4 years ago

For now I am testing this in Invoices to show the issues I am having. I am using this link

https://datastudio.google.com/s/taqiAtScODE

(page 5). The invoice created date should be a normal data type that you can reformat using the built in date formatting features. Unfortunately this does not work so we have to resort to todate functions to get the date to format the way we want. This is very important for grouping by month to do aggregations on invoices for example.

Setting the granularity should convert to a different level of date granularity but we get nulls instead. 2020-04-01_9-08-36

I have to resort to using todate() to grab the necessary date components and reformatting them in various means.

2020-04-01_9-10-39

or this to concatenate month and day

2020-04-01_9-12-52

This is not ideal nor user-friendly. It appears the underlying data format from WA is either nonstandard or we are not setting the date semantic/format correctly to let GDS treat our date properly.

asirota commented 4 years ago

The workaround for now is to use the TODATE() function to cast into the correct format you want for 2020-04-01_15-42-55 the date:

miasmos commented 4 years ago

The dates were never being properly parsed, so in the reports they were just strings, not dates.

asirota commented 4 years ago

Ok here are the fields that are still not properly working with setting type/granularity Contacts

asirota commented 4 years ago

Merged into 2.1 release