Power BI loses sorting between two different chart - sorting

I don't know if this is a recurring problem or not, but I have a Power BI solution which has a pie chart and a bar graph. The bar graph is sorted in descending order by a "Value" field. Initially my Power BI file is loading with the below viz. I want to filter the right graph to bring TOP 5 countries name by descending order of their value when a user clicks on pie-chart on left side. The left side is the category of each countries viz. 0,1,2 & 3.
Below happens when I click Category "0". As you can see Power BI gives 9 results (highlighted by dark green)
Same happens for Category "1". Again I see more than 5 values.

Check interactions under format tab. Select the primary visual (in your case pie visual) than click on the filter tab on seconday visual (Bar chart). Default filter is highlight.

Related

PowerBI barchart highlight

I have five organizations in one column and their value in different column.
I selected bar chart visuals showing every org's in x-axis and their values in y-axis. I have a slicer filter drop down of all organizations.
My question is when I select only one particular org in the slicer filter, I would like see all the org's in the bar chart visuals AND the one org I selected should be highlighted or different than other bar so that it can be easily noticeable.
How can I do this in Power BI? any help is appreciated. Thanks
The best way to achieve this would be to not use a slicer and rather a table with just the organization names. You will be able to format the table to look more like a slicer by playing around with the visual settings in the visual.
This should give you the functionality that you are looking for as the users will be able to click on the name in the table and it will only highlight the bar that is being used. If it does not please check your settings and see if the cross filter setting is set to highlight.

How to manually sort/arrange a Power BI funnel chart?

I have searched all over for an answer to this, including Microsoft's Power BI documentation, but I have not been able to find a solution. I did find a Microsoft document that said "funnel charts can be sorted", but then it did not go on to explain HOW to do that!
My funnel chart is sorting by default from the item with the highest count on top to the item with the lowest count on bottom. That is to be expected from a funnel chart, but we want to sort our chart in a specific order that has to do with the chronology of landing a new customer.
Here is how Power BI sorts our data by default:
Power BI funnel chart in the default sorted order:
However, this puts the items out of chronological order, so we want it sorted as follows to represent the life cycle of a customer from initial lead to a signed contract:
Power BI funnel chart the way we'd like to sort it:
I tried adding numbers in front of our category names to override the sorting (e.g. 1.Prospect, 2.Qualified Lead, 3.Contract Sent, 4.Signed Customer), but that did not work.
Is there a way to manually order the items in a funnel chart? Many thanks for any assistance!
I managed to answer my own question! I was on the right track previously when I added the numbers in front of the labels (e.g. 1.Prospect, 2.Qualified Lead, 3.Contract Sent, 4.Signed Customer). But I assumed that Power BI would then sort by that grouped value, when in fact you have to manually force it to do so by clicking the "More options" (three dots) icon in the upper right corner of the element. Then choose "Sort by", select the Group you want to sort by, and then choose "Sort Ascending".
The result is exactly what we were looking for:
Funnel Chart sorted by group:
Of course, if you don't want the numbers in front of your labels, then I still don't know how to do that natively in Power BI, but this work-around will meet our needs for now.
You may want to try this paid custom visual: https://zoomcharts.com/en/microsoft-power-bi-custom-visuals/custom-visuals/drill-down-column-line-area-chart/
It does offer sorting to control the display as necessary.
Janis
Disclaimer: I am co-founder of ZoomCharts
A bit of a hack: sometimes you can add the column you want to sort on, in the 'tooltips' field of the visual. This does not change the visual, but you can then (through the three dots on the visual) select that field to order the data on.

Kibana Visualization based on multiple fields

Been searching for a day or two on how to do this, really hoping someone can help...
I want to create a visualization based on two fields.
Fields are:
Name
Activity
Name could have a string value of around 200 different names.
Activity has only two possible string values - 'increase' & 'decrease'.
What I want to do is visualize a count of the amounts of increases & decreases overlapping for each name on a bar chart.
Is this possible?
E.g. Say the name 'Bob_Jones' pops up in my log five times & one has an increase value, but four have a decrease value. How can I visualize that particular name on a bar chart with both the count of increase & decrease values overlapping on the chart?
You have to use Visualize.
On the left, leave Y-Axis as it is. On X-Axis remove everything you already have: you should find yourself in the following situation:
press on Split Bars. Now select Terms in the Aggregation dropdown. In the Field choose Activity on the dropdown (the name of your field).
Now you have to press on the button in the bottom of the screen, called Add sub-buckets. Choose X-Axis, put as Sub Aggregation the value Terms once again, and in the Field choose Name.
Now, if you press the "Play" button (check the pic I uploaded, in the top-right) you should have what you are looking for.

SSRS date and scroll bar issues

Wondering if someone can advise on the following please:
In SSRS I have a date from and date to parameter - If I enter a date where the year is less than 30 it will prefix it with 20 I.E 01/01/19 and tab off will change it to 01/01/2019 but when we enter a date with a year of 30 or later it prefixes it with 19 so 01/01/30 changes to 01/01/1930.
As this report will always be in the 2000 - 2999 range they have requested that when you enter the year and tab off it always prefixes it with 20. Is there a way to do this?
What and where is the default width and height of the SSRS portal? For some reason when this loads it has the scroll bars on the side and bottom. This doesn't look too great and also when a report loads that has scroll bars on the report the IE scroll bars hide them so you have to move those up and down to get to the report scroll bar if that makes sense? The users are hating this.
I understand I can manually zoom in and out to make the page fit, but that isn't a solution for everyone using these reports, they will become frustrated. They aren't being used on small monitors either so shouldn't need to load with a scroll bar on the actual screen.
There's not an easy way to change the behavior of the date box. You could change your date parameter to a text field and handle the formatting when you use it. It wouldn't change when they type though.
WHERE D_DATE = CAST( CASE WHEN LEN(#DATE_PARAM) = 8 THEN LEFT(#DATE_PARAM, 6) + '20' + RIGHT(#DATE_PARAM, 2) ELSE #DATE_PARAM END
As far as the scroll bars, does your report have extra space in design mode? You can control that by grabbing the right or bottom edge and making it smaller or using the Page Size property of the report. There is also an Interactive Size property that may also be increasing the size of your report.

Microstrategy - Using a Pie as a selector

I'm using the dashboards (not documents, falsh dashboards) in MSTR.
I'd like tu use an element of my chart as a selector to drill down.
For example if i have 4 pies representing departments I'd like to click on one of them to show the sales of the "sub-departments".
In the following link they show how to do it with documents:
https://www.youtube.com/watch?v=bZ_urHhJo7A
I'd like to do that with dashboards.
You can use your Pie as selector for another Visualization (grid or graph) in your dashboard where you show lower level data (in your case the sub-departments).
Or if you want to continue to analyze the sub-departments in a pie chart, once you select a department you can click on the menu arrow on the top-right corner (sometimes it's a bit nasty to get it) and select Keep Only and Show -> Sub-departments.
Unfortunately I don't think you can do it with just a double click

Resources