Tableau Donut Chart With Text In Centrer - tableau-api

I am completely new to tableau and I got a requirement of creating a donut chat with showing text in center of that chart . I created a PIE chart with all necessary data and calculations but not sure how to convert that PIE chart in to a DONUT . I have multiple legends . Something like below .
Requeestig for help on this .

Steps:
Create a calculated field as 0.
Place it in the column shelf. Duplicate the calculate field in the Column shelf.
Select 2 Calculation - Right click and select the dual axis.
Now we see 2 marks in the mark card. Both are Circle in shape.
Change first Donut(calculation) to Pie and the second to Circle.
Modify the size of both Donuts to get the correct design.
Keep any measure you want in the second mark - Label. Change the alignment to middle and center.
Regards,
Deepak

https://www.interworks.com/blog/tmccullough/2014/03/06/tableau-cookbook-donut-charts.
Have a look and you will know. There is a cookbook you can download. Detail solutions are included in the file.

Related

Merging Percentage Lines with The Bars in Tableau Desktop

I have a graph that shows the ratio (count) of payable vs. processed words among the total words on stacked bars. I would also like to display the same ratio in percentages in lines overlapping the bars.
At the moment I have them in two separate graphs, but I want to merge them so that it takes less space in my dashboard view. I am unable to select the dual combination view as it requires two measures and even though I keep trying to cmd+click+drag the percentage measure pill to my marks, it's only changing the calculations in the bars but not allowing me to select the dual combination view.
Since the percentages are basically the ratio of the green/total in the bars, I don't think I need any complicated configurations for displaying it, however, I am also failing to achieve what I want.
Could you please tell me how to do this visualization?
Edit: I noticed that the reason I couldn't generate the dual combination view was that I had three date pills (year, quarter, month), and by removing two of them, I'm able to generate the dual combination view, but it's far from what I'm looking for as it's only splitting the stacked bar into bar+line.
Neeku, I certainly understand the desire to minimize "real estate" in your dashboard. If I understand your needs correctly, I believe that overlaying a transparent-background chart over the first chart might meet your needs, if a dual-axis chart doesn't work for you (for example, if you wanted to overlay a line chart on a column chart that is itself already dual axis).
By way of example, here is a simple Sample Superstore dashboard with a line chart on top and a stacked column at the bottom.
simple dashboard
Change the line chart to "Floating"
Size it to fit over your column chart and change the background to transparent by clicking anywhere in the line chart and select "Format"
...Format Shading
...and "None" for the color selection
Your line chart is now an overlay, but it's pretty messy.
Click on the line chart and hide field labels,
...turn off "Show Header" for each pill in the line chart
Clean things up and it should look better:
Note: one big issue with this approach is that you will not be able to click to select chart elements of the underlying chart.

Action Filter on Pie Map Chart

I have a map and a table which looks something like this.
Following action filter has been applied on dashboard.
But as described in the first image, I can only select On ground or In transit Inventory for a particular dealer code.I want to make sure that the entire dealer code is selected and both the inventory types are shown in the table below.
How can this be achieved. I think this can be done by dual axis map, but not sure how.
I also want to make sure that when i hover over the dealer code, total inventory is shown in the tooltip instead of On ground and In transit as separate.
Current Tooltip Screenshot :
Workbook Link here:
One option is create a Donut chart where if you select the middle part then entire dealer code is selected and if you select the outer part then either In Transit of OnGround is selected.
Donut chart design:
One pie chart (Which you already have) has Intransit and On ground
Create one more pie chart for dealer code
Now create dual axis adjust the pie chart that dealer code pie chart will be small compared to first one and appears at middle of the dual axis
Now when you click middle circle, Write action filter to show both InTransit and Onground and if you click outer circle then create one more action filter for either of the data.
Hope this helps

Create Stacked Area Combined with Line Chart in Tableau

I'm having trouble creating a chart that combines a line chart with a stacked area chart in Tableau Public. I can create the line chart in Tableau, but after that, I don't know how to proceed. Attached is the chart I created in Excel that I am trying to recreate in Tableau.
Line + Stacked Area Chart
Thanks.
Make your chart a duel axis chart - to do this you must have at least 2 measures on your shelf - click on the right most measure a select 'Duel axis'. Once you've done this, you'll see that each measure has it's own tab on the Marks shelf, which means you can set different mark types on each - for example one measure can be a bar chart and the second can be a line graph.
Hope that helps,
Ben

Display color legend on tableau chart

Is there a way to display color legend on the top left side of a chart .
I have 4 charts in a tableau dashboard and if i display all the legends for all the 4 charts on the bottom it looks busy so I want to include the legends in the charts.
Please help me on this with details steps.
What you want is to make the "legend" a floating object instead of the default tiled object.
To achieve this; You can hold down the Shift key, then drag the legend using the left mouse button while still holding down the Shift key. Drop the legend wherever you wish on the dashboard. Make sure you only release the Shift key after you have dropped the legend at your desired destination.
Warning: Depending on the size of the dashboard you selected, floating objects move around when end users view your dashboard on a device with different screen resolution. To avoid this you can use the "Exactly" size option and define a size range which suits your needs.
To include legends on top left Side of the chart.
Follow steps here as under:
Step1:
Select legends, Right Click on legends top part and select floating and place inside the chart on the top part below heading of Graph as :
So you can follow above steps to add legends in all 4 charts.
Output will look like as
So in this way your legends will not be clumsy and you can describe visualization in a better manner.

Merging 3 bar charts into one stacked bar chart in Tableau

I am struggling to create stacked bar chart out of 3 separate bar charts in Tableau.
They suppose to look like this:
However, closest I've got is this in tableau
With other charts it's kinda easier with just dragging the values from rows into the y-axis and voala - stacked bar chart. Over here they just disappear, as I've removed them.
Hope anyone can shed light to my darkness with Tableau.
You were close with your second Tableau screen shot.
From that configuration, move Measure Names from the Columns shelf to the Color shelf. Then you will get a colored bar for each measure on the Measure Values shelf, instead of a column for each measure.