I have a spreadsheet that has information on credit card applications. In Power BI, I have created calculations to calculate the number of applications (COUNT), and other calculated measures that give me the number of applications based on different filters (CALCULATE).
I then created a slicer that slices the data based on type of card. So say I have a line chart that shows the number of applications for males and females, I can then use the slicer to select different cards.
The trouble I'm running into, is that some cards have a lot more applicants than another. This can be difficult for display, as I set certain Y Axis ranges for the data labels to be clear. So if I have one line chart that the minimum is 100 and max is 500 for one card, if I click on another card in the slicer, then the Y axis size is still 100 - 500, which isn't great if another card in the slicer pane only has 50 applicants.
Does anyone know of a creative way to dynamically change the Y Axis sizes, based on a slicer selection?
Related
I currently have a report that kind of looks like this in Excel. Is it possible to create the same structure with the color formatting in Power BI? Especially with the Percentage Sale and Sales Amount below each other in the row?
I tried using Matrix visual but I kind of run into a problem since the columns would have different format types - whole number and percentage. Also tried with showing columns in rows, while using Percentage Sale and Sales Amount as two columns. But then I would have problems with the color formatting. Any ideas how to achieve it in Power BI?
Its actually simple ..... just follow these steps
1.) You can use matrix or table both... but I preferred tables
2.) Go to format Visual (In visualistation you can see 3 option... its the middle one)
3.) After that click on values.
4.) Now you can se background color , alterante background color etc
5.) Just choose it acc to preferences
If you want a bar label in a selected column then,
6.)In build format, right click on your column (which you want to customize)
7.)Select conditional formatting
8.)Now you can change color
9.)apply this. After that you can see your data of selected columns are showing grid bars
I have the following SharePoint Lists:
Plans:
Plan
Curve
Description
Plan001
Curve001
asdf
Plan002
Curve002
asdf
Curves:
Curve
ValueA
MeasureA
ValueB
MeasureB
Curve001
10
100
50
100
Curve002
20
30
40.
80.
A User can select a Plan in Power BI. When the plan gets selected, I want to draw a Visualization of the corresponding curve E.g. when Plan001 gets selected, Curve001 should be drawn. The Points consist of the Values (X-Axis) and Measures (Y-Axis)
I managed to get all the values with either measure column or calculation column. But I am not able to draw the line chart. This is probably because each field in the curve table is also a own column.
The chart works perfectly if I create a table like this from hand:
Value
Measure
10
100
50
100.
Is there any way to transform the table, measure columns or calculation columns to such a table automatically? Or do you know a way how I could achieve this?
Unfortunately, I can't change the SharePoint list.
I want a visual comparison of stacked histograms using the same x-axis scale. In this situation, I don't always have the same number of histograms for each dataset.
I would like to do a small multiples grid in Power BI that is N rows by 1 column; where N is the number of instruments that are collecting data for the client site selected in a Slicer. Some clients may be collecting data with one instrument. Other clients may use 3 or more instruments.
Is there a way to set the number of rows to a variable in a small multiples grid or would it be possible to embed a chart in a matrix?
The default is a 2×2 grid of small multiples, but you can adjust the number of rows and columns to up to 6×6. Any multiples that don’t fit on that grid will load in as you scroll down.
You can adjust the style and position of the small multiple titles in the Small multiple title card:
And you can change the dimensions of the grid in the Grid layout card:
How can I do custom number formatting in a Power Bi visual?
I don't want to show all value as million. I want to put thousand for 1-day value, and million for 1-week value and year for 1-year value.
Power BI charts follow the principles of good data visualisation. That includes a scale that is relevant to the data with labels that relate to the scale.
In the visualisation, the differences for the values less than 1M are not discernible. The label with the 0M supports that approach, although it doesn't look great. But that happens when you have a chart with very large AND very small values. Power BI only supports one display unit and you selected Millions.
You may want to consider using a different visual for the data. Not all visuals to be shown as charts. If you want to show the exact numbers, then a simple table might be a better approach. In a sorted list of numbers, the digits in a number act very much like a horizontal bar.
Or split the chart in two and show one chart for values above 1M and another for values below 1M.
Or use Thousands as display units instead of Millions.
Hi I'm trying to create a Bar Chart like this (This chart is an illustration, not created from data yet):
If the data is being fetched from a single table, how can I have dual color scheme for bar is past and future. Also how can I place a moving marker that automatically updates the TODAY placard based on whenever the report is viewed and accordingly bars should follow the past and future color schemes.
Schema is roughly as follows:
Table1: Issue ID, Release name, issue priority
Table2: Release name, Release date
In Power BI as well as in Excel, the secret is in the data layout. You can't just have all your past and future data in two columns and magically expect that some of them will turn out red and orange instead of dark and light gray.
You will need to prep your data source to include stacked series for the light gray, dark gray, red and orange series. Stack all series on top of each other and make sure that where the red and orange series have values, there are only zero values for the gray series.
I suggest you use four columns for four stacked series and divide the values accordingly.
In Power BI, you can apply the same principle as in this Excel screenshot.
Let me know if you need help translating that to Power BI.
Edit: The Power BI data does not have to be static. You can build columns with Dax functions that arrange the data in the pattern required. Add four columns to your data model with the formulas
chtPastProdA = if(tblProducts[Date]<TODAY(),tblProducts[Product A],0)
chtPastProdB = if(tblProducts[Date]<today(),tblProducts[Product B],0)
chtFutureProdA = if(tblProducts[Date]>=today(),tblProducts[Product A],0)
chtFutureProdB = if(tblProducts[Date]>=today(),tblProducts[Product B],0)
Then build a stacked column chart and stack all four of these series. Format the colors.
For the "Today" marker you would need a custom label, which Power BI currently does not support. But since the demarcation between gray and red/yellow is today, it's quite obvious where the current date is, anyway.