Jump to content

Avg vertical line for aggregated bar chart


Austin Fox

Recommended Posts

Spotfire X

In a bar chart with y-axis = UniqueCount([y-valuecolumn]) and x-axis = AutoBinNumeric([x-valuecolumn],n) how do you get an average vertical line that uses the aggregation Using 'Lines &Curves' adding a straight vertical line 'AVG([X])' does not account for the aggregation (UniqueCount) and instead operated on the whole dataset i.e. RowCount().

Link to comment
Share on other sites

I tried... Don't see a chance to get this work for AutoBin

 

If you had fixed bins then you could work with a calculated column and plot this column. Or, more advanced, if you create a document property for n you could use this property for your x-axis and calculated column.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...