PowerBI change format of matrix headers based on values - powerbi-desktop

I would like to change the background of headers in the matrix.
PowerBI Field format offers that only for measures, but not for dimensions that sit above them.
This is my matrix. All and Closed are measures in columns, the rest are dimensions:
This is my matrix
I'd like to make it like in the excel prototype below:
excel prototype

Related

Excel data - cleaning data with multiple values for numerous instances

I have a data set which is related to force applied vs distance traveled.
When the data was created the measurement software has provided multiple values for distance traveled as the force increases, then in some cases the data has no values for distance at the force values.
I have several data sets which look like this.
The data looks like this
I want to 'clean the data so I can create a graph with all 3 samples in columns the same height so it is easy to edit and make scatter graphs from.
I tried to clean the data by using VLOOKUP to create a column of force values at each 0.5N, but when I do this I end up with a large table that has lots of missing data points, when I make the graph from this there are lots of blank areas which don't seem to plot correctly.
The VLOOKUP data looks like this
The graph looks like this
Is there a better way to do this which will give me a better looking data set which is better for creating a graph from?
I have about 30 sets of data, so any info that you have would be greatly appreciated.
Why make the columns equal length.
If you plot the three samples with the data as given, an XY graph should look OK:
If there's some other reason to make the columns equal length, I'd "fill in the blanks" using the FORECAST or GROWTH functions, or use a trendline.
You can use IFERROR to insert something in place of the #N/As. For example, you could use =IFERROR(VLOOKUP(A1,D:D,1,FALSE),0) to add a zero in place of the #N/As

Is there a way to automatically or programmatically insert dynamic errorbars in a pivot-chart in Excel?

I have a pivot-chart that uses averages to plot each of my grouped points. I'd like to add errorbars, but Excel doesn't seem to support automatic errorbar generation (or does it?).
Should I just generate a standard graph / pivot-chart all in VBA to include this capability? I'd be losing most of the nice slicer features (if the standard chart is the solution) and it makes me sad...
EDIT: Let's look at an example!
Here is a picture of a pivot-chart I made using data from a table in another sheet.
Example
I'd like to add errorbars that are automatically calculated form the standard deviation of the mean. But since a new mean is calculted each time I filter my pivot for a specific combination of filtered fields, then I can't just add errorbars manually each time I change the filtering of my data!

Why Excel graphs are adding empty data points?

I want to plot the sales on specific dates. But of course there hasn't been sales on some weekends and holidays, so i dont want to plot these days. Just skip these days in the graph. But as soon as i create a bar chart in excel and select the data points, excel automatically put the other dates in without data. How can i force excel to show only the data points i provide?
I attached to data point and the graph which excel creates.
http://imgur.com/a/RzN1l
http://imgur.com/a/Tx6dm
In the colum (or row) of data representing your dates, ensure they are string literals and not date values. You can do this by prepending a single-quote, e.g.:
'14/04/2017
Strictly speaking, you only need to do this to the first date.
easiest way is to format the x axis with the following option: Axis Type: Text Axis

Excel 2013 Why is standard deviation not evenly stretched to both sided up and down?

I calculated data in Matlab.
Now I want to format it in excel.
The values in first row represents some average values. The values in second row represents standard deviation.
I try to draw a graph, but standard deviation bars do not strech up and down evenly, as they should.
I want to achieve graph like this:
https://en.wikipedia.org/wiki/Error_bar
I am using Microsoft Excel 2010.
I found an answer here:
https://www.youtube.com/watch?v=2Etko-slowk
It is VERY important you delete all the data, when you set custom values from both textboxes (after you click specify values).

Excel - Custom label format to turn "1999Q4" into "1999"

I have a column of data in the form 1999Q1, 1999Q2, 1999Q3, 1999Q4, 2000Q1, etc. I would like to show these in a graph simply as 1999 and 2000—essentially, to just use the first four characters of the cell data.
In the Format Axis dialog under Custom label, I've tried using #### and 0000, but neither format seems to have any effect on the display.
What would my custom format have to be to make 1999Q2 display as 1999, and so on?
I could be wrong, but I don't think you can do that with custom formats.
What kind of a chart are you using? If it has a categorical x-axis (line, column, bar), then I would create another column. In that column use a formula, such as:
=Left(A1,4)
to get just the year numbers. Then use that column for your X-axis Labels.
An alternative would be to split the year/quarter into two columns like this:
Notice the x-axis layout that you get when you select A1:C9 to create the chart.

Resources