Adding Line to Clustered Column Chart - powerbi

Can anyone tell me why my "line value" is converted to a "count" when attempting to add this field? It's stored as a percentage and would need it to show as a percentage. Having multiple Y axis would be beneficial for this visual.
The first attachment is what I have. The second attachment is what I'm trying to create.

Related

Tableau - Combine measures into a single column based on different dimensions

See picture. I have two columns: FIXED and the Original. Is there a way to combine both into a single column using an IF Formula or maybe a FIXED Formula?
The amount 949 highlighted in green is OK, is based on a calculation, but I also want to keep the amount 21.265 also highlighted in green, which was OK in the original column. I want to have both in a single column.
Picture

Create Bar chart in Power BI as the attahced sample

I need to create the attached graph type with the sample data set attached. Need your super power to resolve this.
Thanks in advance.
The exact chart will not be possible in Power BI. You can create a stacked column chart with a line. use min for the lower column, range for the upper column in the stack. Format the lower column white, so it is invisible. Use allocation as the line data and format the line to show no line and only markers. You won't be able to make the marker a dash in Power BI.

Is it possible to develop the line charts with multiple colors in powerbi?

I developed the few Line charts for BMP280 sensor data in powerbi. This is one of the line chart for displaying the temperature value by time and device id.
But I want same line chart with different Color like this below image, whenever temperature value suddenly changes.
Can you please tell me is it possible to develop the Line chart with multiple colors?
If you're willing to consider a vertical bar chart instead of a line chart, you would be able to create a calculation for each row that determines whether the change is significant, potentially by comparing an aggregate of recent measurements to specific thresholds.
Once you do that, you would use this column's value as a legend for your visualization. So if a row has a value of "Significant Positive Change" (or something like that), the bar or bars showing that change can be red.
Your other alternative is to use an R-based visual, of which there are surely examples of this type of visualization. I'll update this answer if I find one that looks promising.
Instead of tending 1 data series, you can split it into 2 data series e.g. one with normal temperatures and one with high temperatures. Then you can just plot these in different colours. Just make sure that the ranges are same i.e. cannot be 'Auto'.

Line chart with two scaled Y axis in PowerBI

Hi I want to create line chart with two scaled Y axis in PowerBI.
Can anyone suggest how to implement it? or point to any resources?
For this you will need to create a "line and clustered column chart" or a "line and stacked column chart". Put measure one on "column values" field and the other measure on "line values" field. The the two dimensions need to be put on shared axis and column series. Now Go to formatting, enable secondary axis and changes the status of "Align Zeroes" to ON. You are now done with your job.
I'm pretty sure that the closest you'll get to what you're looking for, "out of the box", is a combined line and column chart. See this from Microsoft to see how it is done. I did see that a lot of folks have requested the ability to have two Y axes with lines for both on Microsoft's ideas site for Power BI; so I'm sure Microsoft knows it is wanted.

PowerBi line chart adding lines based on measures

With Power BI line charts there is a limitation of not being able to add more than one "Values" field when a "Legend" field has been defined.
The feature I need is to simply be able to plot a horizontal line based on a measure I calculate via DAX.
Currently the Analytics tab allows to add constant lines based on max/min/avg of Value but doesn't allow to specify a measure from the data model to plot as horizontal line.
Can someone provide a solution or work around to be able to plot additional horizontal lines on line chart?
The reason you can't put a second measure on your chart when you have a legend defined is because the legend creates multiple colored lines out of a single measure. If there were 2 measures, it would expect to convert both measures into multiple colored lines too, and then you'd have 2 lines that correspond to each legend item. Either the chart would have two lines with the same color, or you'd need 2 colors for the same legend item. Neither of which are very clear.
I don't think that's what you're looking to accomplish with a second measure, though. You're looking to add a reference line on the chart based on the second measure, not split the 2nd measure out by the legend. It's a reasonable request.
If your legend isn't highly dynamic and doesn't have too many items, you can create a measure for each legend item.
Say you have a Sales measure and a Sales Category with 5 items (Cat1-Cat5 for simplicity). Create 5 measures, each filtered to one legend item.
Cat1 Sales:=CALCULATE([Sales],'Your Table Name'[Sales Category]="Cat1")
Cat2 Sales:=CALCULATE([Sales],'Your Table Name'[Sales Category]="Cat2")
....
You can then remove Sales Category from your legend, and remove Sales from your Values. Instead, in Values, place the 5 measures: Cat1 Sales - Cat5 Sales. This will make one line per legend item, so your chart shouldn't look too different. However, now you've done that, you can also drag on a 6th measure as your reference line. It's not the greatest solution but it should work as a stop-gap.
In the format section of your line chart, you can also change the data color for each measure e.g. if you want your reference line black and your measures shades of blue.
There are several ideas in the Power BI ideas forum requesting a reference line based on a measure, and I do recommend adding your voice to them too. E.g. https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/15497754-ability-to-dynamically-with-dax-functions-or-meas or https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/13296177-dynamic-reference-lines