How to change the color of each field in text-shelf of tableau and add legends for the colors -Tableau - tableau-api

I am in the process of converting few of my ssrs reports into tableau. I created a tabular model worksheet which shows Comparison of budget & actual amount in region, district , year wise. I have added region, district in row shelf and budget & actual amounts in text shelf.
Now I need to show Budget & actual amounts in different color. Also I need to add a legend for each text colors. Please help how to do this tableau.
Thanks for the help

You need to place the Measure Values measure in the Text card instead. This will allow you to use the Measure Names dimension in the Color card.
For example:
You will need to filter on Measure Names to make sure you only include those two measures.
Also, I added Measure Names to the Rows section, but unchecked Show Header so that the numbers are vertically stacked.

Related

How to combine charts in Tableau

Every column have same 6 level of factor variables.(5 columns)
These charts are count of record by levels.
How do i combine these charts into one?
Put the predefined field Measure Values on the Row Shelf. The you’ll see a new shelf appear called Measure Values. Place the measures you want to see on the Measure Values shelf (and remove them from the Rows shelf)
Then place the predefined field Measure Names on The color or label shelf.

show each column in the cross-tab in different background color -Tableau

I am Creating a Cross-tab with Tableau Desktop 10.0.
I need to show each column in the cross-tab in different background color. How to do this tableau. I have read about a method using calculated columns, but i am looking for other options. Also is it possible differentiate each columns with a line?
Thanks for help
I'm not sure what you mean by calculated columns but the only way I know is to use a dummy Measure in the columns shelf and then place the actual measure you want on the Text pill. Set the marks to Bar and increase the size to full. Each Measure will have its own dummy Measure in the column shelf. Take a look at this example. https://dl.dropboxusercontent.com/u/60455118/160919%20stack%20question.twbx
As for differentiating each column with a line, you can do this by going Format > Borders > Column and adjust the Column Divider.

Show Separate Mark Labels alongside Measure Value Labels

(source: tableau.com)
I'm using Measure Values for combining two measures:
1)Count of Clients (As a percentage)
2)% Retention (Calculated field which uses another calculated field called Numerator Retention in it's formula over the total to calculate the %)
Measure Value Mark Labels successfully show the respective percentages for the two measures. Now I wanna show the respective count of clients or numbers behind these percentages but I'm unable to do so since I've already used Measure Value Mark Labels to do something similar.
When I try editing the Labels text, it edits it for all labels together and hence I'm getting all labels for all rows and not how I want it to show selectively as I described.
Example Solution: For Private Residence, I only want 125 to show with 60% which is the actual number behind the percentage. And I want only 119 to show with 95%
You can do this, but not using Measure Values. You should mirror what I have done here. I do not know your calculation for the Respective Retention, so use your calculation.
You need to move both of your measures to the Columns shelf and make them a Dual Axis:
After doing that, you will have access to the individual measures - so you can give labels independently:
Just make sure you place the measures that you want for each axis respectively.

grouped stacked sales column chart

I am trying to produce a sales chart using only the native Excel features, I am trying to group sales data by month and category. I want my sale types to stack for a monthly total so that I can compare not only total volume, but also track where that volume is coming from. I have been able to group by month using a pivot chart, but I can't figure out how group my categories and display them as discrete parts of the monthly sum. Here is a mock-up of what I am trying to produce: http://i.imgur.com/BCFfwQJ.png
I'm helpless in VBA and SQL, and my coworkers are even worse than me at it, so I need to do this with just the built-in Excel 2010 features.
Set up the data so the months are in the first column, type labels in the first row, values in columns under the respective type, and keep the top left cell blank (above months and left of types). Add another column with the quota label next to the type labels and the quota values next to the type values. Make a stacked column chart from this data, right click on the quota series (which is another stacked column), choose Change Series Chart Type from the pop=up menu, and choose a line chart type.

Create a grouped bar chart with multiple measures by color

I'd like to create a grouped bar chart with multiple measures by color. I have the following measures:
Clicks
Impressions
Revenue
Profit
I have a total of 2 web sites that I am collecting data from, so I'd like to have a different color for each measure and the columns to be side-by-side. Also, I'd like for them to be separated by site as well.
I see the stacked bar columns, but that's not the way I want to visualize this. Anybody have any ideas?
As far as I Understood, you have 4 measures, 1 dimension(Websites) with 2 websites names. Now, you need to show side by side bar, each column has two websites i.e., 4 columns with 2 sub columns each.
Drag Measure Names and Websites to columns shelf and Measure Values to row shelf.
Now, from Show Me shelf select side-by-side bars
If you get 2 columns with 4 sub columns, swap positions of Measure Names and Websites.
If you didn't get different colors for different measures, drag Measure Names to Color in Marks.
hope this is what you are looking for.
Just like Y.Prithvi said, you would use measure names and measure values.
(disregard the fields in the filters card, I filtered my data to match what you were trying to accomplish)
See example: