Reputation: 273
I have a dataset including the 3 years data from Google Analytics, I have a hard time to split the date into 3 different lines to display on Spotfire like the following pic.
Upvotes: 1
Views: 1284
Reputation: 25142
Well your X axis is a date, making this a linear visualization. It seems like you are trying to compare years by month. In that case, keep the color by year option that you have currently, but change the X axis from your date column to Month([DateColumn])
Another option would be to Trellis by year.
If you want to format the X as you have above, insert a calculated column and use this new column on the X axis:
Date(Year([DateColumn]),Month([DateColumn]),01) as [NewColumn]
This builds a date column based off the YEAR
and MONTH
from your [DateColumn]
and forces the DAY
part to 01
.
Upvotes: 1