Tableau Control Chart - Attribute measure incorrect - charts

All
I have a control chart, with on the X-axis a time period, and the Y-axis the value of the measure (I'd like to plot all the points in a control chart).
However, I have 2 different values as a measure, which have the exact same date (up to a second match) but different measure values.
When I plot this on a control chart, instead of having 2 points in the control chart with value 500 and 550 for example - it gives me one point with a value of about 200.
It also gives a notification that there is a NULL value in this axis, which points to the X-axis where 2 records have the exact same date.
Any idea what I can do to make this correct - or make tableau draw the measure points correctly?
Thanks in advance!

It's difficult to answer without seeing more detail about your problem, but this sounds like a good candidate for a blended axis. (multiple measures sharing a single axis)
The easiest way to do this is to put your (probably continuous) datetime field on the row axis and one of your measures on the row axis to see one of then control plots. Then drag the second measure to the Y-axis until you see a little translucent two bar icon to indicate that you are adding a second measure to that axis, at which point you can release the pointer and you should see a two plots on the same axis.
If the scales for the two measures are radically different, you can instead drag the second measure to the right side instead to get a dual axis.

Related

Adding x error bars to a scatter plot in tableau

I have a scatter plot in tableau:
I am looking to add error bars to the points but cant find how to do this. I would need to specify the lower limits and upper limmits (i.e. not just a fixed percentage of the value). The only thing I can find is adding y errors in the form of a gant plot but this isnt helpuful (I dont think) as I only need x errors.
Its possible with a combination of using Measure Values (to show lines between the error ranges) and a dual axis (to overlay the X values on the lines)
See sample workbook

Scatter Plot with X-Y axis

I am charting the values of the DISC personality test on a google chart.
Location on the X-axis is Influence - Compliance.
Location on the Y-axis is Dominance - Steadiness.
I've tried every combination of Data Ranges, Identifying X-Axis, Adding Labels, going through common errors - https://infoinspired.com/google-docs/spreadsheet/common-errors-in-scatter-chart/
I cannot seem to get each person's score to populate correctly on the X-Y axis along with their names as the label.
The sheet is located here: https://docs.google.com/spreadsheets/d/1Aq8bCIDCpdW8XXnwDcd8bOAwH0KCPs5-a-6-saJITxg/edit#gid=499653271
it would need to be like this:
__________________________________________________________
UPDATE:

Unable to add Trend Line in Tableau even though both axes are numeric

As shown in the screenshot: both axes are numeric. So why can not the trend line be calculated?
The problem with this set up is that the values on the x-axis are discrete values rather than a measure.
Tableau treats every number as a separate category rather than a point on an axis.
If you click on that field and chose "Convert to measure", you should get an actual scatterplot and you should then be able to add a reference line for each axis.

How to plot different data in parallel (in continuation of the previous one)

I have some energy 24 hour consumption data of many days.
Plotting a specific day gives me vertical axis of consumption and horizontal axis of time.
I would like to plot for lets say 1 year.
If I use "hold on/off" command, it plots all days together on top of each other.
How can i plot in a way that for the second day, the plots goes to the continue of the first plot (horizontal axis extends automatically)? So, when I have the complete plot, it shows 365 days of energy consumption based on hour. It's like the horizontal axis is repeating while the vertical axis is updating. I'm talking about MATLAB.
You can still use hold on and plot each day separately (if I understand your question properly, this is what you want, separate plotting). Simply make sure your x-axis values are correct. So e.g. if you have one measurement value per hour, the plot day 1:
plot(1:24,valDay1,'k-')
then for day 2:
plot(25:48,valDay2,'r-')
etc. This will line things up correctly. Also, consider using a datetime as x axis values
So, I found my solution which is very simple. I don't know how it didn't occur earlier.
I just had to use ";" and that's it.
Like this:
DAY=[day1;day2;day3]
plot(DAY)

Core Plot - get data to fill up x axis screen space

My Core Plot is almost finished up but I've noticed an unusual thing I need to change before calling it done. The x axis is scaled properly along the bottom, and the left and right edges indicate the range that I've set. The data, however, is all crushed together on the left side, almost as if the y values are not corresponding to their proper x values.
This image should demonstrate what I mean. You'll notice that the dates run along the bottom, but the actual values don't go past the 6/3/11 mark. They should be all the way to the right.
Link to image
Check the values returned by your datasource. Make sure the x-values are calculated from the same starting date and intervals that you used for the x-axis range and labels.