Page History
Sv translation | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
There are cases that you want your chart x-axis to display number of days for a particular event, rather than the calendar date. For example, if you are running a marketing campaign from 2013-08-01 to 2013-10-01, you want to display:
This use case is going to show you how you could make it if you only have the date in your data set. Preparing Data with Transformation scriptCreate a new attribute called campaign_day in the data set and apply transformation script as seen below:
This will return the number of days in terms of the campaign starting time in the format of 00 to 62. Creating formulaAt the report level, set the campaign_day as the drill down and calculate the indicator as seen below:
Here is how it looks like in the chart: Next Steps
|
...