Requery when selecting area in PowerBI map - powerbi

I have a map that does not shows all points from my dataset (too many, its an expected behavior). If I filter the data, Power BI recalculates the points to be shown, while ALL filtered data (not only shown) are used for any other calculations or visuals. But, if I make an AREA selection IN MAP (lasso selection), only the selected points I can see in map are used for thhese calculations.
Is there a way to FILTER AND RECALCULTE the dots IN SELECTED AREA? I mean, use the lasso selection not to mark specific poits, but to filter values in latitude/longitude selected range.
Thanks!

Related

How to 'hide' column in Matrix Visual if no field parameter is selected

I'm trying to create a fully customizable matrix table in Power BI.
The matrix has field parameters for rows, columns and the values:
Is it possible to hide the columns if nothing in the column field parameter is selected? (and thereby only show values and rows in the matrix visual)
I've found a workaround that I fear is not intuitive for the user.
For the column field parameter, if I select one of the dimensions as is already selected as a row dimension, the columns will disappear and only the selected value along with the selected rows will be shown (exactly how I want it):
The issue with this method of hiding the columns is that as soon as something else is selected as rows, the columns will appear again. One could just select the same new row dimension for the columns to make them disappear again, but I want to know if there is a better way that might be more intuitive for the user.
An alternative solution is to use bookmarks to switch between a matrix and table visual, but I would like to know if my goal can be achieved with a matrix visual.

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.

Having trouble building chart from multiple columns in Power BI

I would like to create a simple chart from 2 or more columns in Power BI.
Here's my data, for each column, a 1 marks an occurrence of an event, null means it did not happen.
I would like to turn this data into a very simple bar graph, showing both these fields' numeric totals (i.e. summing all the 1's). The bars would be shown side by side. I would like it to look exactly like this, only instead of male/female it would show "alcohol occurrences" and "MDMA" occurrences.
Here's my stacked column chart:
And when I try and put the column names on the axes so that they can be properly labeled, I get this:
I can achieve most of what I want using a clustered bar chart, but the problem there is that it won't let me label the axis with the alcohol / MDMA column names:
How can I make a simple, labeled graph, stacking both columns up against each other, showing the numeric sums for each column? Again, I want it to look exactly as the male/female example shown above. Is this even possible? Thank you in advance.
In the above scenario, all the values are considered to be in the same category and that means there is no direct way to do this. There are a couple of workarounds to make it look like the desired output:
To get the gap between the two bars:
You should create a new measure, Measure New = 0
Add this measure in the middle of the two values in the bar chart
This should give you a gap in between the two bars
To get the axis values added:
Create two text boxes with the text "Alcohol" and "MDMA" added
Place these text boxes below the respective bars to make it look like they are the axis values
These workarounds can become quite tedious when you have to do it for a larger number of charts/values. On a lighter note, it baffles me that you can consistently come up with these specific scenarios where you expect the charts to do exactly the opposite of what they are meant for 😉

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'.