You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/07/07 03:05:26 UTC

[GitHub] betodealmeida commented on issue #5177: Time shift difference

betodealmeida commented on issue #5177: Time shift difference
URL: https://github.com/apache/incubator-superset/pull/5177#issuecomment-403184206
 
 
   @mistercrunch, I've added a migration script. Here's a dashboard that was saved before the migration:
   
   <img width="1680" alt="screen shot 2018-07-06 at 6 45 00 pm" src="https://user-images.githubusercontent.com/1534870/42405658-a9d057ce-814e-11e8-826b-676c238048ba.png">
   
   Note that:
   
   - granularity is `month`;
   - `num_period_compare` is 24 (months);
   - `period_ratio_type` is "growth" (ie, `new/old - 1`).
   
   After the migration:
   
   <img width="1680" alt="screen shot 2018-07-06 at 8 04 02 pm" src="https://user-images.githubusercontent.com/1534870/42406214-c28016e8-8157-11e8-84a9-024953817714.png">
   
   Now:
   
   - `time_compare` is "2 years" (though it doesn't show in the dropdown since it's free form);
   - `comparison_type` is "percentage" (same as "growth", just renamed).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org