Add % label to columns charts on Power BI - plot

I have a table with the historical data of tickets with the creation date and a column that said if the resolution time was accomplish or not.
I create a column plot to resume the amount of tiquets by month and accomplish or not. But I need to add label that say % of tiquets according to the accomplish of month (for example the 85% accomplish on june and 15% dont. I dont know how to add the % label

Your question is vague, but you may just need to set the formatting by clicking on the field and then clicking on the % sign in the column tools.

Related

% Change to Prior Column

So I have a series of data that the EU would like visualized as a bar chart displaying the % variance to the prior month. They only want the last 4 months. Easy enough. My problem is being a perfectionist I'd like the 4 months displayed BUT you technically need 5 months of data pulled to get 4 months of data and the 5th month has no value displayed because there's nothing to compare it to. Filters of course drop the 5th month's value. I just want it to not show that fifth month.
There are several ways to solve your problem:
Use the Limit Displayed Rows option in the Visualization Settings:
Choose to Hide the First 1 rows with the data of the 5th month being the first row to hide it. Source: Looker docs
Create a custom calculation to exclude that specific row. The calculation should be something like diff_months(${data.created_month},now())!=5. The value should be Yes except for the month you want to exclude. Then click on the Settings wheel next to your calculation's name and select Hide "No"'s from Visualization and Hide from Visualization.
Romain

Split x axis for every value in graph, in Power BI

I have the following graph in Power BI:
and I'm trying to recreate the below graph from Excel (note the X axis with the months February and January, with the Operation Text:
As you can see, my attempt only displays the Operation Text rather than the month and Operation Text).
Here is what my current axis looks like:
Changing the axis to have Actual Start Date on top, rather than the Operation Text:
Makes my graph look like this:
Is it possible to achieve the same outcome as in Excel, with the values in my graph showing the two months side by side, for each operation text? If so, how can I do this?
I've tried looking into the X axis 'format' settings and wasn't able to see anything obvious to help achieve this. In addition, unfortunately the graph I'm looking to recreate is only a screenshot so I am unable to see how it achieves that outcome.
EDIT:
As suggested, I attempted to place Operation Text into the Legend field in my Visualisations section but I am unable to, due to the fact that I have two Value fields (the two columns Actual Hours and Estimated Hours).
#CR7SMS is correct. You just need to expand down to the next level using that split arrow in the upper right of the visual so that this:
Becomes this:
Note that to get the axis to look like this, you'll need to sort on month rather than one of the measures.
You'll also want to turn off 'Concatenate labels' toggle in the 'Format > X axis' section of the visual settings.
You would have to drill down one level, using the arrows seen at the top right of your first screenshot. For your specific purposes, the split arrow should do the trick. Hope this helps.
Have you tried moving your date or operation text column in legend section ?..not 100% but something close to your requirement you can achieve

How to add denominator count (Total sales) for stacked graphs in Tableau

I have built a bar graph using tableau for the following data. How to add Total sales (120,150,200,180,140) on top of the each bar in tableau
[The following image has the data and bar graph that I was trying to build]
[1]: https://i.stack.imgur.com/NdA7s.png
Thanks for your help
Hope this helps.
I pivoted the data first to make it easier by working with a single measure.
Go to the data tab and select the Sale A and Sale B measures:
Then hit the dropdown and select Pivot.
Then your data will look like this
Next, you want to set the fields up like this so it mirrors your screenshot.
The SUM(Pivot Field Values) is a table calculation set up as percent of total calculated Table (down).
Then just duplicate your measure by holding Ctrl and dragging to Rows. Make it a label in the Marks section. This will add the total. You just have to play with the axis and format to get it into the place you want from here.

Plotting multiple lines in Tableau

I read every possible forum and I couldn't find a specific answer. I'm new to Tableau and I need to perform what I thought would be a very simple task but I can't figure it out.
I need to create a chart with multiple lines plotted in the same graph. On one column, I have a timestamps in seconds (decimal). For each timestamp value, I have 4 columns associated (Temperature, Pressure, Humidity, Voltage) and I need to visualize how they trend over time. The data in Excel looks something like this (I simplified it for visualization purpose):
In Excel, it takes me less than seconds to obtain a chart that looks like this:
How can I replicate the same exact chart in Tableau? I would like someone to tell me exactly how each column should be formatted, if the data has to be a dimension or a measure and data type for each (string, number etc) and what steps to take in the chart. I would do this in Excel but the file is almost 1M rows and Excel keeps crashing.
drag & drop measure values & timestamp.
EDIT - first make Timestamp a dimension instead of a measure, and make sure it remains continuous instead of discrete. So you should not see the word SUM in front of Timestamp
remove no. of row & timestamp from the measure values.
uncheck aggregate measure.
EDIT this step is not usually needed or desirable. If you do have multiple recordings per Timestamp, you will want to select the best aggregation function for each measure, perhaps AVG or MEDIAN instead of SUM
select line from mark and drag measurement to color
If your X-axis is a Date Column, (i.e. You have a list of dates on your X-axis)
Drag your 'date column' to Columns and choose Month/Year/Week etc. and make it continuous
Drag 'Measure Names' to Filters and choose your Measures
Drag 'Measure Values' to Rows
Drag 'Measure Names' to the Colors section of the Marks card

Flex LineChart advanced horiztonal axis?

I want to make a line chart that allows the user to select a date range for the data. For example if the date range span is more than 1 month, I want to to have a bar that shows the months, also if the date range is around 30 days or less I want it to show the dates for each day as well. Something like that.
Does anyone have any suggestions?
Thanks!
I would suggest using a DateTimeAxis, and setting the labelUnits property to "days" or "months" as appropriate. The axis will then do all the hard work of grouping your data accordingly.
In your particular case, when the user makes a choice from the combo box, you should have a handler that computes how granular to make the x-axis based on the user's date selections.

Resources