Tableau Public, Box Plots: combine 4 rows into 1 with 4 plots per month - boxplot

I have a Tableau Public sheet with 4 years of data.
Each day has a value, and I am showing those daily values as a box plot - one for each month of each year.
Currently it is set up as 4 rows (1 for each year), and 12 columns.
See here:
https://public.tableausoftware.com/views/boxplotsbyyearmonth-dailyvalues/Sheet1?:embed=y&:display_count=no
What I want to do is drop to a single row, and show all 4 box plots side by side within each month, colored by year.
I can't elaborate what exactly I have tried, as I am new to Tableau, and have done a lot of clicking around looking for options, and have tried searching various sites and Google, to no avail.
Is there a simple trick to this, or is it something complex I have to do to?
UPDATE:
I have figured out how to get them lined up correctly, by dragging the year dimension to the columns section, which I had tried, but then I had to reset the other dimensions, and it took.
What I still can't figure out is the coloring.
By dragging the year to the color property, it colors the outliers, which are separate marks, but the box plots are not affected.

When you pull the year field to color it will color the marks (all of them, including the outliers). If you want to change the color of the box plot container you need to select it and right click.
I made some edits, let me know if this is what you were trying to accomplish:
https://public.tableausoftware.com/views/boxplots_0/Sheet1?:embed=y&:display_count=no

Related

Time Stack Chart with years as horizontal axis

I want to add a stacked chart but could not find a way to customize the time-axis.
Currently my x-axis refers to days, however, I search for a way to display years. Since I want a stacked chart that changes over time, I believe I need to use the 'Time Stack Chart' (see screenshot). I would also be happy with simply several stacked bars next to each other (each bar represents one year), but the 'Bar Chart' only supports one bar (I believe).
My model collects data from different sources on the last day of the year and then my chart should display this value for the year, categorized by source. I have tried with different data sets, both where the time is the horizontal value and where it is not.
When I use a dataset where one value is 'Years' (through the getYear() function) this works fine for plots, but not when I want to have a stacked chart (which by default depends on the time).
Is there a solution to this?
Please let me know if you need further information!
You need to go to the appearance part, time axis format, set it to yyyy. Also in the scale section, you need to change model time units to years.

How to sort pivot based on measure and create a stacked bar chart

I am trying to create a stacked bar chart between 2 dimensions (one being week, other is a string - more below) and 1 measure. I am new to Looker.
But in order to get the stacked bar chart I figure that I need to
Create a pivot
Transpose the data
Create stacked bar chart
I am stuck with step 2 and 3.
The above steps is what I have thought could help me arrive at the visualization I want but would appreciate if there is any other solution for this.
Scenario:
I have a digital marketing data with me, where I am trying to create a visualization on ‘Leads’ generated,
I have 2 dimensions, 1 measure
Lead Created Week - Week on which a lead was created
Reason2 - reason a lead was created or what reason attracted the user most
Leads - count of leads
I have plotted the below visualization where I have created a pivot of week with Reason2 and Lead count under it and have plotted it on a stacked bar chart (as below).
Where each bar is a Reason (X-axis) and each color is the Week dimension, leads (count of leads) is in the Y-axis
Even though this is help what would be helpful is having ‘Week’ on X-axis, ‘Leads’ (count of leads) on Y-axis and ‘Reasons2’ dimension as a legend.
There is also one catch i.e., there are more than 100 distinct values in ‘Reason2’ field but I need to pick on Top 10 Reasons (i.e., the reasons that generated the most leads), which in the above screenshot I have achieved by limiting the display rows to 10 as the measure was already sorted.
I tried to flip around the pivot by having reason in pivot and Week as dimension, but if now the pivot is sorted in alphabetical manner and not by value of measures (screenshot below), I need the top 10 reasons which most leads per week.
How do I achieve the desired visualization of having week on X-axis with leads on Yaxis but only the top 10 Reasons should be generated.

Conditional formatting numbers in Tableau

I have some basic spreadsheet info and I need to compare it to previous quarters. I just want a crosstab or heatmap type visualization showing if we are up or down from previous quarter.
Something like this:
So leads and closings have increased quarter over quarter so those should be color coded green. Referrals should be coded green for the first two but code red for Q22018 since the number went down. Is this possible in Tableau? I played around with a calculated field but I'm not sure how to compare the number to a previous quarter info number and not a set number.
I'd like it to look something like this:
Adding screenshot:
This can be done using a Table Calculation in Color shelf.
First create a table calculation as below and drag it to Color. Change the mark type to Square.
Edit the color like below.(If you do not want to play with the color, you can create a custom calculation to return red or green)

Tableau - Multiple Line Graphs Day by Day

I would like to create a dashboard showing Level Funnel for the users with respect to their register date on the same chart.
My data is like the following:
And from that data, I would like to create the graph like below:
But in tableau I couldn't manage to combine those graphs below, which are separated day by day:
I tried to follow this steps, http://downloads.tableausoftware.com/quickstart/feature-guides/combo_charts.pdf however I couldn't find 'Customize Marks' button in the menu.
That would be great if you can help me on how to combine these graphs into one graph.
Thanks.
Drag the DAY(Date) field from the row shelf to the color shelf
One way to think about it: When you have the DAY(DATE) field on the row shelf, and you've configured it to present as a discrete field, you are telling Tableau to "make a row for each day". When you move that field to the color shelf, you are instead telling Tableau to make a color for each day. The same mental substitution works for discrete fields on most of the other shelves, like columns, shapes, pages -- i.e. make a page for each day.

Want to show legend just once for repeating charts in single page in ssrs

I have 8 charts on a single page for 7 days of a week and one for combined. I want to show legend only once at the end of page.I have made visibility of legends for all 8 charts as Hidden.
I have 3 rows and 3 columns of charts in which i have one space (i.e. 9th box in this 3X3 matrix of charts) free to display the legend.
How could I do that?
Thanks in advance.
Take a look at last tip on this blog post:
http://blog.hoegaerden.be/2009/10/25/pie-chart-techniques/
He overrides the colors from the palette using stored colors in the database.
In Series Properties you select Fill Page and click the Expression. Assuming you store the 6-digit hex value of the color, the expression will be:
="#" & Fields!YourColorCode.Value
This will ensure the colors will be the same across all charts. To create your "legend" just make a table that displays each field with it's color representation.
There is another question here:
SSRS 2008 - Uniform Chart Legends for multi-chart report but the link in the answer no longer works.