Tableau convert measure to dimension - plot

I am trying to emulate the normal bell curve in tableau
Created all the variables, and they are proper. But Rating Bin in my workbook is not Dimension like Profit Bin in other workbook, and that is making it difficult to plot
Curve vs Rating Bin
I have no idea what I'm doing wrong. I just wanted to create normal distribution curve from location average ratings
Update
Unable to drag Rating Bin from Measures to Dimensions
Update 2
These are options when I right-click

I don't know which version of Tableau you are using, but in my version, I can right click on the variable and select "Convert to dimension" from the pop up menu. You should be able to do this, if not drag the field from measure to dimension.

Related

How to add denominator count (Total sales) for stacked graphs in Tableau

I have built a bar graph using tableau for the following data. How to add Total sales (120,150,200,180,140) on top of the each bar in tableau
[The following image has the data and bar graph that I was trying to build]
[1]: https://i.stack.imgur.com/NdA7s.png
Thanks for your help
Hope this helps.
I pivoted the data first to make it easier by working with a single measure.
Go to the data tab and select the Sale A and Sale B measures:
Then hit the dropdown and select Pivot.
Then your data will look like this
Next, you want to set the fields up like this so it mirrors your screenshot.
The SUM(Pivot Field Values) is a table calculation set up as percent of total calculated Table (down).
Then just duplicate your measure by holding Ctrl and dragging to Rows. Make it a label in the Marks section. This will add the total. You just have to play with the axis and format to get it into the place you want from here.

How do I plot two values against each other in tableau

I have two values I wish to plot against each other in tableau. They are two totals aggregated around the same date. I can get them to the point where they are plotted on a dual access against the date like so:
but any attempt to plot them against each other for correlation has come to nothing. I've tried simple conversion to scatterplot, using calculated fields, using a cross tab with subtitles and attempting to only plot the subtotals against each other all of which have failed. I could do it in Excel but have to do it in tableau.
I have consulted the official Tableau 9.0 guide, google and existing questions on Stack Overflow all to no avail. If I was doing this in BOXI, I could just select the columns and chart them. How do I do the equivalent visualisation in Tableau?
You aren't clear about what type of chart you want to make.
Do you want a scatter plot? If so, put one measure on the row shelf, the other measure on the column shelf, and one or more dimensions (such as your date) on the detail shelf to define how finely to aggregate the data. Check the aggregation functions you use (SUM, AVG) and the aggregation level for your date fields (YEAR, MONTH ...) as desired. You probably want to use the second block of date aggregations on the menu unless you want to group all January data together regardless of year.
If you want a connected scatter plot, set the mark type from automatic to line and move the date field from the detail to the path shelf. You might also then want to put the date on size, color or legend to visually show the direction of time on the line. You might need to change that field to attribute in some cases to avoid creating multiple lines.
Tableau is fantastic once you learn how it works, and get a strong understanding of how choices about treating fields as dimensions or measures, or discrete or continuous impacts the behavior. If you skim over those details, you can still make beautiful charts by following recipes, mimicking examples (and asking StackOverflow), but Tableau's behavior will seem mysterious and arbitrary.
If you take some time to learn the fundamentals about how Tableau works, it will repay your time investment. I recommend Joshua Milligan's book Learning Tableau for a good way to start, along with the training videos on the Tableau website.

Unable to click on graph with lower values to see data in CRM 2015

I have graph created in CRM as seen in the picture below. I am unable to click and view data for bars with lower values ( For ex: I am unable to click on values 1s, 2s and 14 whereas I am able to click and view data for bigger values )
Also I am able to click and see data for lower values in Stack graph not in bar graph.
** It doesn't matter the territory holder or quarter, its for all the values below 15.
Is there anything I can do, to be able to click and view data related to bars with lower values ?
CRM Graph
Thank you!
I would guess that those columns are just simply too small. You could play with the xml of your chart and add some scale breaks. It should make those columns bigger and available for clicking.
Have a look here to learn about scale breaks: https://crmchartguy.wordpress.com/category/scalebreak/

Is incremental area analysis possible in the adehabitatHR package?

I have home range data sets for 6 animals using UTM coordinates. I have successfully read them into R and calculated each home range using the Minimum Convex Polygon(MCP) method. I would like to know if it is possible to do an "incremental area analysis" on these data. What I am looking for is a graph for each home range data set that has the number of data points on the X axis, and the MCP area of the points on the Y axis. The idea is to look for an asymptote. If an asymptote is found, then the area is not increasing with additional data. This would allow me to conclude that the home range of the animal has been fully revealed.
Essentially, I need to know the area gained for each sequential data point. Does adehabitatHR or its brother packages have this capability?
You can find a script for IAA at the Faunalia webpage, I used it and it worked perfectly for MCP:
https://trac.faunalia.it/animove/wiki/AnimoveHowto

forecasting with regression in asp.net chart

I am refering to the official asp.net tutorial http://msdn.microsoft.com/en-us/library/dd456655.aspx . What i did is,,, in an fresh asp.net website, i added a chart control from the toolbox and dragged a table it to from my database. The problem starts now when i added a button and put the forecasting code in the button click event. The code is:
Chart1.DataManipulator.FinancialFormula (FinancialFormula.Forecasting, "2,40,true,true", "Series1:Y", "Series2:Y,Series3:Y,Series3:Y2");
The error message i got is
Forecasting Error – There are too few data points for this regression
type. A minimum of 2 data points are required.
In the chart, i selected "date" as x-axis, and "some number" as Y-axis... And what is this minimum of 2 data points required...
Can anyone help me out with this error.......
This question is a bit old, but I ran across this same situation today and wanted to post my resolution.
This "Too Few Data Points" issue occurs when the the trend line is added before the chart is bound. Simply moving the Financial Formula code below where the data is bound will resolve the issue. (Of course, if you have less than 2 data points in your binding, this won't help you).
Basically, until the chart is bound, the "input series" doesn't actually have the data to be used by the Chart's DataManipulator.
For predicting the future values at least two past values are needed,so if the result contains only one value it will throw error,because it is not possible to compare the values.The series in the chart should have minimum 2 values

Resources