Austin Fox Posted July 22, 2020 Share Posted July 22, 2020 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 More sharing options...
Fabian Duerr Posted July 24, 2020 Share Posted July 24, 2020 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 More sharing options...
Austin Fox Posted July 24, 2020 Author Share Posted July 24, 2020 For others reference. I ended up creating a pivot table from my main data table. This allows there to be no aggregation in the bar chart making the values correct. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now