Hi,
We have all of our dates stored in UTC in our data warehouse, however our users would like to see the dates in their own time zone AND also be able to export the data to Excel/CSV with their own time zone. I have a few ideas but each has its limitation and I am wondering what the best practice/advice would be.
1) Add a Member Formatter (http://mondrian.pentaho.com/document...mber_formatter) that would format the existing UTC date into the time zone of the users browser/machine using the JS function .toLocaleDateString()
--> Issue with this is that the exported date will still be in the UTC time zone and format. I need the exported results to be in PST for example
2) Adding additional properties to the times for the common time zones so that we can have PST/ETC/CST times as properties of the UTC time?
--> Can this be configured set as a formula (e.g. - 8 hours) or do we need to store all of the properties as columns too??
--> I guess this would work. I never really use properties and just add extra dimension levels so am not sure if this has any drawbacks like not being able to filter the report using the property?
--> I seem to recall that you cannot show a property without the related level being on the report? If this is the case then it would not be how the user expects to use the report as they would only like their own time zone
3) Display all time zone levels to choose from
--> i dont really like this idea as it is ugly and we need lots of time columns in the database...
4) Use Dynamic Schemas to only show the time zone appropriate for the user
--> We already have DSP in place for what field to show our users so we could extend this to show the correct time zone
--> i think we would need all of the time zones as columns in our tables though?
--> or does anybody think we could pre-set a formula for this? (would need to take into account daylight saving time zone adjustments so not as easy as +/- a numb er of hours..)
Hope that some people out there have done something like this before and have some suggestions/tips on the best solution here..
Thanks,
We have all of our dates stored in UTC in our data warehouse, however our users would like to see the dates in their own time zone AND also be able to export the data to Excel/CSV with their own time zone. I have a few ideas but each has its limitation and I am wondering what the best practice/advice would be.
1) Add a Member Formatter (http://mondrian.pentaho.com/document...mber_formatter) that would format the existing UTC date into the time zone of the users browser/machine using the JS function .toLocaleDateString()
--> Issue with this is that the exported date will still be in the UTC time zone and format. I need the exported results to be in PST for example
2) Adding additional properties to the times for the common time zones so that we can have PST/ETC/CST times as properties of the UTC time?
--> Can this be configured set as a formula (e.g. - 8 hours) or do we need to store all of the properties as columns too??
--> I guess this would work. I never really use properties and just add extra dimension levels so am not sure if this has any drawbacks like not being able to filter the report using the property?
--> I seem to recall that you cannot show a property without the related level being on the report? If this is the case then it would not be how the user expects to use the report as they would only like their own time zone
3) Display all time zone levels to choose from
--> i dont really like this idea as it is ugly and we need lots of time columns in the database...
4) Use Dynamic Schemas to only show the time zone appropriate for the user
--> We already have DSP in place for what field to show our users so we could extend this to show the correct time zone
--> i think we would need all of the time zones as columns in our tables though?
--> or does anybody think we could pre-set a formula for this? (would need to take into account daylight saving time zone adjustments so not as easy as +/- a numb er of hours..)
Hope that some people out there have done something like this before and have some suggestions/tips on the best solution here..
Thanks,