I have a report that is designed to allow users who aren't proficient in Tableau visualize data in the form of a bar graph. There are some drop downs on the side that allow them to select some dimensions. These dimensions then populate the graph. The labels in the graph, however, do not match the dimension name selected, and I was curious how to do this. So for instance on the right hand side Dimension 1 is set to Item Subcategory, and I'd like it to say that in the graph as well, instead of being labeled Dimension 1.
The drop downs on the right are generated from this code in the dimension itself:
If anyone has any ideas on how to do this, I'd really appreciate it. Thanks!
The way I would do this would be to hide the column headers on the sheet itself, or edit their aliases to just a bunch of spaces so it appears blank.
You can then create a sheet with the Dimension 1 parameter on the Text shelf, formatted to look like a column header (or formatted however you want it to look), and add that sheet to the dashboard as a floating sheet. Repeat for the other two dimension parameters, position the sheet above the column so it looks like the header, and there you go! Whenever the parameter changes, the column header will change to match too.
I would note that this only works if the sheet is on a fixed-size dashboard, since floating sheets don't usually play nice with auto-sizing dashboards.
Related
I am new user of Tableau and I have a question:
How can I present both the values and the percentage of total in stacked column in tableau?
here is example how it should look like (i know how to do it in excel but not in Tableau):
Just add both values to label. After you compute the percent of total on SUM(Teus) hold down control to make a copy and drag it to Label to explicitly have it displayed. Then drag a new SUM(Teus) from the data pane onto Label as well. Now you will be able to see both values. You can then click on the Label button and then the [...] button if you want to customize how these values are displayed. Side note: you are getting those skinny bars because you have Year as a continuous dimension. Using it as a discrete dimension will give you the thick bars.
I am trying to add rows to sheet to create a tableau table. I cant seem to think how to get table headers in the Y axis
It should look something like this.
However I have got something like this without the row wise headers or panes separating each row.
Also I want to look better
Heres what I got.:
Please help
This is simple.. You have added all pills to columns. Move measures to rows and let them be continuous only. One tip for easy formatting like a cross tab.. double click second measure
I am trying to get all my lines to overlap on a single graph. How would I go about doing this? Here is what I managed to get so far:
And when I say overlap, I mean something similar to this:
Here is more information about my data:
Each of the attributes (e.g. 'Intro', 'Flair') have the following integers in the data: 1,2,3,4 with an associated pcttip (tip percentage) as a decimal number.
I have manually right clicked on each of the measures in the columns area and changed them to "dimension".
The dataset can be found here if you would like to try: https://www.dropbox.com/s/je72hbso2tzby60/Tableau_data_2.xlsx?dl=0
You can do this in Tableau fairly easily. You need to pivot some of your data.
Click on the data source in the top-left and select Edit Data Source
In the bottom pane, where your data is previewed, select/highlight each of the fields that you want measured (Intro, Flair, etc.)
Right-Click with those fields selected and click Pivot
When you return to your sheet, you will see a new dimension field and measure field for your pivot.
Add [Pivot field values] to the Columns section - make sure this is set to 'Dimension' and 'Continuous'
Add [Pivot field names] to the Color card
Pivot
Output
Drag 'Repeat' pill to the X-axis on 'Intro' then drag the other pills into 'Intro'
Something similar to this: https://onlinehelp.tableau.com/current/pro/online/mac/en-us/buildexamples_line.html
I've got a report that I want to sum some of the columns and then do some basic subtraction on the summations on a row underneath. In my screenshot, I've got the columns summing correctly, and the row is hidden which is what I'm looking for.
But I'm not sure how or if I can then take the Sum(Prod_Coll) minus Sum(Proc_Perf) and make that value display in the bottom right cell (Drop Total Here).
Is this possible to do within SSRS?
right click on the empty cell, click create placeholder, click the Fx button next to value and enter:
=sum(prod_coll)-Sum(Proc_Perf)
That should do it unless I'm missing something.
I'd like to create a 'header' label that 1) is centered over the cross-tab and 2) grows with it. Unfortunately, CR 2008 (or earlier for that matter) doesn't have this feature.
In image (below), I've added a text field above the cross-tab, but I can't think of a way to get it to grow/shrink (horizontally) with it.
If you're able to calculate, say by a summary function, the number of columns you will have then you can do this:
In your crosstab, check to see the width of your columns. The columns should be set widths. Edit: The crosstab adds some padding, so you will have to figure out the column width by measuring in Crystal with another field and eyeballing until it's close enough to work
Right-click on your label, and hit "Size & Position".
Add a new formula for the "Width". The X,Y positions should stay the same.
Use the summary function (You could create a SQL Expression or formula that only shows the month/year of your date fields and then distinctCount() them) to find out how many columns you will have multiplied by the width of each column. This will take some trial and error for sure, but I don't see why it wouldn't work.