Is it possible to set the number of rows in a Power BI Small Multiples grid to a variable? - powerbi

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:

Related

When to filter data during dimensionality reduction of image data?

I am extracting numerical data from biological images (phenotypic profiling of fluorescently labelled cells) to eventually be able to identify data clusters of cells that are phenotypically similar.
I record images on a microcope, extract data from an imaging plate that contains untreated cells (negative control), cells with a "strong" phenotype (as positive control), as well as several treatments. The data is organized in 2D with rows as cells and columns with information extracted from these cells.
My workflow is roughly as follows:
Plate-wise normalization of data
Elimination of features (= columns) that have reduntant information, contain too many NAs, show little variance or are not replicated betwen different experiments
PCA
tSNE for visualization
Cluster analysis
If I'm interested in only a subset of data (controls and let's say treatment 1 and 2, out of 10), when should I filter the data?
Currently, I filter before normalization, but I'm afraid that will impact behaviour and results of PCA/tSNE. Should I do the entire analysis with all the data and filter only before tSNE visualization?

Adjust spacing between columns, bar chart

Trying to fine-tune format of bar chart, POWER BI. I have six columns, would like three groups of two bars each. Original chart bunched all six columns into the center of the graph, with no spaces. I made two placeholder columns and included them so that I have two columns/space/two columns/space/two columns.
All the columns are still bunched into the center of the graph, with a lot of wasted space on either side. Minimum Category width and Maximum size have no effect, and inner padding widens the columns only slightly.
How can I manually position columns along the x-axis?

Dynamically Change Y Axis Size Based on Slicer

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?

Show relationships between 3 numerical values and turn the horizontal axis into a logarithmic scale

Which type of visualisation I need to choose if I want to show relationships between 3 numerical values and turn the horizontal axis into a logarithmic scale? The worksheet data would include grouped sets of values and you wanted to show patterns in large sets of data, for example by showing linear or non-linear trends, clusters, and outliers?
Bubble Chart
Bar Chart
Treemap
Pie Chart
A bubble Chart is the correct option.

How to manage custom number formatting in power BI?

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.