Want to show the average number in Tableau - tableau-desktop

I have a line chart in Tableau showing sales over time and I have shown the average sales over time using the "Analytics" tab "average line" feature. I would like for the number to show up with the average line. For example, if the average is 800 sales over time, I would like for the number 800 to appear next to the line. Right now the line only says average with no number. Does anyone know a solution? Thanks in advance.

As described in the guide (look at this page) you can show the value by using the label field in the menu.
Is this your target?

Related

How can i create a duration chart in google sheets?

I'm trying to make a file to track the time I study a certain subject:
I would like now to make a chart with all the values (that in this case are durations) in the B, C and D columns, but I don't really understand how to do it. When I select the cells and click "create chart" it does the following:
which is obiously wrong. If i remove "date" from the "series list" in the settings of the chart above i get the following:
But I don't understand what this represent. How can I do this? Please keep it simple.. This is the first time for me using google sheets
Ps i just realized that that kind of format specifies a time (2am, 3am etc) and not a duration. Is there any format that indicate a duration?
Here is what to do:
1.) Select all of your time columns entirely within the spreadsheet itself (not the graph). Using your posted setup, that would be Col-B, Col-C, Col-D. To do this, just click on the "B" at the top of Col-B, hold down the mouse and drag right to Col-D, then release. If you have more columns than these that will record durations for classes, select those as well.
2.) From the main menu, choose **Format > Number > Custom number format > **. In the field at the top, enter this format: [h]:mm
The second chart in your post is actually correct. It's just showing your durations as the decimal percentage of a full day on the Y-axis. The steps above should cause the chart to adjust to showing durations.

How do I show data for 4 weeks on a Google Sheets chart by week day?

I want to show data for 4 weeks on a Google Sheets chart.
I have tried to do this and it is mostly ok as this is correct:
The X-axis shows the days of the week
The Y-axis is the weight number
Issues I have with my current implementation are:
I had to make a separate series for each week when I wanted it automatically group the data by week number. (I then can't name each series)
The data is off by one day. Monday's data doesn't show which means Tuesday's data is showing in place of Monday and so on.
Here is a link to the google sheet and a screenshot below: https://docs.google.com/spreadsheets/d/147RMW2JE7MoWz53EZuB-nHj-p_xeKez_ze_0mqq8NGA/edit?usp=sharing
My expected result would look more like this:
Here the lines are shown grouped by each week AND data is shown for each day
The reason why you are missing the first day of every week is that you have checked the Use row 1 as heeaders so every series will remove the first datapoint (monday in your case) and insert it as the label for that series (you can see that in the legend).
If you uncheck that checkbox and change your range for the X-axis so it goes from Monday to Sunday you get the correct graph.
The problem with the previous graph is that although all its datapoints are correct there is no legend. But unfortunately there is no way to insert a legend easily because you cannot go and change this manually, the label for each series has to come from the cells.
What you can do to work around this limitation is change your data so the label for each series sits on top of your data and keep the Use row x as headers checked:
Of course this is not the only solution, you can go on multiple ways here, copy the table in a single sheet for every week, or just live without labels. Stack the weeks horizontally so everyone has its week number on top of the weight column, etc

Total and percentage for each column in a line and stacked column chart

I need to show in one single bar chart the number of elements of each column and also its percentage regarding the total.
With a Line and stacked columns chart, I reach this:
However, the tooltip option, on the line, shows me only one value, and I need to get both of them. I mean, not only that 32 but also the percentage corresponding to that value.
Is there a way to get this? maybe another chart?
OK. I understand the question now. Unfortunately, this isn't currently possible.
From Microsoft Community Support,
This is an expected behavior. The tooltips only show when you hover over a column data point in combo chart.
This has been submitted as an idea for Microsoft to address. Please vote and/or comment here:
Combo Charts: How to add tooltip on line

Drilldown line highcharts?

I am working on line chart. I am sending two sets of data. Both are date,value pair. One set is of average and another is for daily readings. I need to make it drill down so that when I click on the average it will take me to all the readings of the day. The data is dynamic. Can anyone please help me how to approach with this ?

How to Highlight the Max Value in a Crosstab Row

I have a crosstab report in Crystal Reports. The rows are trips that are taken throughout the day (eg. trip 1000, trip 1010, trip 1020, etc). The columns are the stops along that trip (eg. Franklin, Hollywood, Sunset, Santa Monica, Melrose, etc.). The summarized value in the crosstab is the average load at each stop. For each row, I'd like to highlight the stop with the highest value, so that the schedulers who use the report can find it easier. any ideas on how to do this?
I searched this site and found someone asking the same question but column-based instead of row-based. I figured I could just adapt that formula for my needs, but one of the functions found in it, 'GetNumColumns' does not register with my version of crystal. how can that be? I have Crystal Reports 11.5
Thanks for your help!
You can use highlighting Expert to change the color of font and background in a crosstab rows.
Just right click on the field and select the highlighting Expert there for the required condition you can apply color for both font and background

Resources