Multiple Histograms in one Visualization - pivot

I would like to know how to make a histogram with multiple measures. My data is a Monte Carlo simulation that shows for 6 default rates and 5000 simulations what gross profit turns out to be. Just to reiterate, for each default rate in my excel sheet there are 5000 rows. Each bar in the histogram shows for example: 10% of the time gross profit falls between 70M and 80M. The below picture shows the histogram working for 5% default rate, I would also like to add every other rate then color code them.
Here is the input:

I think you need to restructure your data before proceeding further- (demonstration on some sample data)
select all rate columns in Data tab and click pivot
Rename the new columns as per taste (say Rate for names and values for another
Add/create bins on value column and add rate to color, you may get desired view-
either
OR

Related

How to properly calculate Basketball team percent averages?

So I was making a dashboard for a personal project and I put some stats on a spreadsheet and made a column that calculated FG% based on (Field Goals Made/Field Goals Attempted) for each player. Now I threw this into Power BI and I want to calculate the team FG% average but Power BI takes the percentages as they are and averages them by taking all the percentages, adding them, and dividing by # of values. Of course, this is the normal way to find the average for General numbers but not percentages. How do I fix this and get the actual average FG%?
I apologize, I'm very new to this. Stats,PowerBI Avg. Calculation
For reference, this is the chart I'm trying to make inPowerBI chart

How can I create a slider in Power BI to adjust a percentage in a dashboard?

I have a column of data with percentages that's used in a calculation for revenue. However I want to include a slider (doesnt have to be a slider though, the visual isn't the concern here) in my dashboard for another column that adjusts all of the percentages by say 5%. So it would look something like this:
Slider: +5%
Original %
Revenue
Adjusted %
Adjusted Revenue
50%
100,000
55%
new revenue
45%
60,000
50%
new revenue
Any idea how to do this when the original percentage is being used in a long string of transformations and calculations to get the revenue? I'm just not sure how to get it to replicate all of that.

Can Excel aggregate/combine x amount of datapoints and show an average instead of showing all datapoints?

I have a graph with data for each day. I would like to only show the average of the data per week on my graph.
Here you can see a part of the chart. What I want is that these 21 (42) bars (days) shown in 3 (6) bars (weeks).
Can Excel do this without me having to manipulate the data and creating averages per week?
If Excel can't, what would be the most efficient way to create this dataset, if you know my data is organized following this structure (going until 31/12/2017).
I appreciate you reading my question and I hope you can help me out.
Plot a PivotChart with Average of for VALUES and ROWS (dates) grouped by Days and 7.

making big data set smaller in excel

I made a little test machine that accidentally created a 'big' data set:
6 columns with +/- 550.000 rows.
The end result I am looking for is a graph with 6 lines, horizontal axis 1 - 550.000 measurements and vertically the values in the rows. (capped at 200 or so). Data is a resistance measurement that should be between 0 - 30 or very big (borken), the software writes 'inf' in these cases.
My skill is limited to excel, so what have I done until now:
Imported in Excel. The measurements are valuable between 0 - 30 and inf is not good for a graph, so I did: if(cell>200){200}else{keep cell value}.
Now making a graph is a timely exercise and excel does not like this, result is not good.
So I would like to take the average value of 60 measurements to reduce the rows to below 10.000. So =AVERAGE(H1:H60)
But I cannot get this to work.
Questions:
How do I reduce this data set and get a good graph.
Should I switch
to other software that is more applicable?
FYI: I already changed the software of the testing device to take the average value of a bunch of measurements the next time... But I cannot repeat this test.
Download link of data set comma separated file 17MB
I think you are on the right track, however my guess is that you only want to get an average every 60 rows and are unsure how to do this.
Using MOD(Number, Divisor) inside an if statement will let you specify that the average should be calculated only once in every x number of cells.
Assuming you'll have one row above your data table for headers, you are looking for something along the lines of:
=IF(MOD(ROW(A61),60) = 1,AVERAGE(H2:H61),"")
Once you have this you can filter your average column to non-blank values and use this to create your graph.

How to show values in data labels of Excel Pareto Chart when chart is based on percentages

I am developing a Pareto Chart for my client in Excel 2010. They currently have a chart that shows the percentage of each category on the primary Y-axis. Then, the secondary Y-axis is used for the cumulative percentage, up to 100%. So far, this is a normal and easy to create Pareto. I should also mention it is based on a Pivot Chart with 3 different Report Filters.
They wish to show data labels above each column to indicate the number of occurrences. So for example, they may have 6 events on the x-axis:
1 - Event A, 50%, 1,000 occurrences
2 - Event B, 30%, 600
3 - Event C, 10%, 200
4 - Event D, 5%, 100
5 - Event E, 3%, 60
6 - Event F, 2%, 40
I cannot figure out how to show the data labels so they show the value of each category (e.g. Event B would show 30% on the left axis,have a data label of 600 and the Cumulative total line would be at 80% at this point). Please keep in mind that depending on what is selected with the Report Filters on the Pivot Chart, the name/number of categories on the x-axis will change, so I don't think adding a formula into the data label is the answer either.
I've looked everywhere (I think) for an answer, but cannot figure it out. I'd prefer to avoid a VBA solution, but I do know how to write VBA code, so if that's the only way, a nudge in the right direction would be greatly appreciated.
Thank you.

Resources