Power BI visual axis - sort axis so that (blank) not in the middle - sorting

Anyone know how to rearrange this in Power BI without the blank appearing in the middle? I know I can transform the blanks into something like '0 - No category assigned' but in Tableau you can create a custom sort. Is this possible in Power BI?

You can sort the columns in the chart
either by category or by value
in ascending or descending order
using the ellipsis menu on the upper right corner.
Your visual is currently sorted "by value in ascending order". Change that to sort "by category in ascending order" and the Blank category will appear on the first position, or use "descending order" to show it on the last position.
You can sort the Category column by another "sorting" column, but naturally this can't include Blank categories, because they result from filtering another table that has "unknown" categories.

Related

pivot table not showing totals with conditional formatting

When I apply conditional formatting (gradient background) to a QuickSight pivot table, the Total row does not show any values. If I remove the conditional formatting, the values on the Total row appear. The image shows the same (duplicated) pivot table. The one with conditional formatting shows no Totals. The one without conditional formatting shows Totals.
Anyone else encounter this? I'm stumped... QuickSight Pivot Tables
To apply conditional formatting to the TOTALS in the QS dashboard, you can follow below approach and this should solve your problem:
Click on option at the top right of your pivot visual and click on conditional formatting.
On the various conditions you have mentioned, click on the button besides it as shown in the image below.
enter image description here
After clicking this there will be three checkboxes values, subtotals and totals. Check the totals box and you are done.
Do let me know if it works.

SSRS merge rows vertical in a single column

I'm looking to merge vertical rows for only a single column of my report, so that when that column has lots of data, it doesn't force the left rows to expand.
The answer appears to be using a matrix (e.g. SSRS tablix Merging cells vertically problem), but I'm not clear how it would work in this case.
For example, in the screen-shot below, I'd like to spread the confirmation footer text through the following 4 rows, so that the first row (Sales Contact, Angela Thomson, Confirmation Footer, The credit card used...) is the same width as the others and that the Sales Contact info on the left is not pushed down (i.e. the Title row should be just below Sales Contact, and not have all that space in between.
Any thoughts on this?
You could use a series of nested tablixes. Create each tablix in your report then drag and drop into the main tablix until you get the effect you're after. (nested data regions reference).
Here's the design of 3 nested tablixes
Here's the preview of the report

Sort A Report by a Summed Amount

MS Office 365. I have a report sourced by a Query that is grouped, sorted, and subtotaled by Vendor. Is there a way to sort the report by subtotal (=Sum([Amount]))? My goal is to have the subtotals in descending order.
Click the arrow Filter drop-down arrow on Row Labels, and pick Sort by Value.
If you click the Column Labels arrow, pick the field you want to sort first, followed by the sort option you want.
In the Sort by Value box, under Select value, pick the value to sort by.

Need to show "GRAND TOTAL" as a row header in OBIEE

I have a UNION report which contains 2 criteria. First Criteria contains all the individual values i.e. Student ID, Maths Mark, Science Marks. The 2nd criteria contains the TOTAL of Maths and Science Marks of all the students. In the 2nd criteria I need to show GRAND TOTAL as a ROW HEADER. How can be achieved?
You will need to create a pivot table:
Create a pivot table view, then Edit the pivot table view and move the attributes to the desired sections (Rows, Columns, and Measures). Drag and drop them until it looks like what you need.
In the pivot table view editor pane, next to the TOTAL column, change the Default Aggregation to Sum.
Next to the Student ID column (I presume it should be under the Rows section of the pivot table), click on the Sigma icon (Σ) icon.
Change the aggregation to display "Before" (I assume by Row header, you mean that you need the GRAND TOTAL to display to the left of the Student's marks.
Please let me know if this helps.

How (& where) does Magento decide the order of list items in the configurable product view dropdown?

image #1: https://picasaweb.google.com/lh/photo/gDCgo_SHMbnAOmHCh0LQCtMTjNZETYmyPJy0liipFm0?feat=directlink
When examining a Magento configurable test product (ski goggles with a color option), I see that the colors of the dropdown list (see image #1) are ordered like this: White, Blue, Red, Silver. However, when I examine the product in the admin view and select the "Associated Products" tab, there seems to be no correlation between the frontend list organization and the product ID numbers, price, or anything else for that matter.
To demonstrate, if I connect the product ID numbers to the above list, I get: White (170), Blue (169), Red (168), Silver (175) - see image #2 below.
image #2: https://picasaweb.google.com/lh/photo/ES0i3_wZsdiU35w4_MGLrdMTjNZETYmyPJy0liipFm0?feat=directlink
At the time I initially created the configurable product, I had added three color options (168, 169, 170) and they appeared to be displaying in descending order by ID in the dropdown on the frontend. But I just now added another individual product (the color Silver), with an ID of 175, and it doesn't follow this trend.
Question: What logic does Magento use to order these lists, and what file is this function located in? I'm looking for a way to arrange the config. product dropdown list(s) in ASCENDING order, regardless of price or any other factor, ex. from 168-175.
Thanks.
B
Someone with more experience or knowledge may override me on this, but I believe the order the attribute values appear in the drop down list is based on the order they are given on the attribute label definitions when you create the attribute.
Sort order of the attributes is determined in the attribute. The furthest column on the right is called Sort Order.
Otherwise it should sort alphabetically.
I think what you are looking for is to sort dropdown values (i.e. small, medium, large, extra-large) by some value, and not by its label. If this were done, sorting would make more sense. We would be able so sort by increasing or decreasing size, rather than alphabetical (which does not make sense).
In order for this to happen, we would need magento to support enumerations or oordinal values (https://magento.stackexchange.com/questions/20985/get-option-value-by-id-or-attribute-in-magento, Magento - Sort by Position and Name?). There are NUMEROUS requests for this, which are being ignored.
Please be aware, dropdown values can already be re-ordered. In the admin pages, you can simply drag a dropdown value in M2 in order to change its position (M 1.9 calls this "Sort Orer"). However, the question then becomes how to use the position or sort order [s=1 m=2 l=3 xl=4] of the attribute-value for sorting, rather than its label.

Resources