Power BI - bar chart sorting - powerbi

I am having a problem sorting my bar graph in date order (sendtime column) for my mailing data...
Axis: Campaign Title
Legend: Blank
Value: Total Sent, Total Opened, Totel Links Clicked
I have tried to add this to the Axis which allows me to order by "Campaign Title and sendtime" which still sorts them alphabetically and if i add to the values section it simply does a count.
I am using a slicer to control the various chart (and other pie chart) however i would like them ordered by when they were sent.
Any help would be greatly appreciated.
Please let me know if you need any extra information.

This was a strange answer to come across but in the end I had to use a different date set, add it to the relative date filter option and then order.
Apologies if anyone has read this and wasted some trying to find a solution.

Related

Power BI | Collapse and expand lengthy values in one column

I have a column with lengthy values in my Power BI table. I would like it to only show a part of it so that the table isn't hard to navigate, and once the viewer clicks or do something, then it shows the whole value. Is there a way I can accomplish this?
There are posts about collapsing/expanding the whole column, as in keep it disappeared and then appear once you expand or vice versa, but I can't find a way to collapse/expand each values.
Following is an example. As you can see, "Bio" column is very lengthy, so I would it to show maybe a few lines in original view, and once the viewer wants to see the full Bio of that authors, then they can by a click or any action.
Any help would be much appreciated!
OriginalTable
What I want
You can add a column with the truncated version, and a Drill Through to a report page for that single bio.

Showing a visualization with Parent Child/Successor Predecessor relationship

I wanted suggestions from the community as to which chart should be used to depict the Parent-Child/Successor-Predecessor relationship in Power BI. I'm using Azure boards as a data source. Here is my sample data source.
I want to show each work item id in the center and its Predecessor on the top left and successor on the bottom right. With that, I want to arrange my items based on iteration.
Here is how I'm trying to visualize my data.
I don't need links to the Microsoft Custom Visuals Page. I know that it exists. I'm expecting somebody to point out to a visual in the market place that could help me with my scenario.
Not sure if there any exact option for data presentation as per your design/requirement or not. But to serve the purpose, you can try with "Multi-row card" and the presentation will be something like below-
You can apply some Styling in the visual, but it will not like your sample requirement I guess :(
Here 2 column is basically 2 different "Multi-row card" visual.
In first visual, applied filter with Iteration = 1
In second visual, applied filter with Iteration = 2
For better presentation purpose, I replaced NULL value with a "-" in column "Predecessos ID" & "Source ID Title"

Running Total By Date in Visualization

I'm trying to create a line chart visualization that shows a constantly increasing sum over time. I think this would be called a cumulative total or a running total, but most of the questions I've seen on here have been about showing a total at the bottom of a matrix, subtotals, etc. Instead, I just want to visualize the units from the previous date being added to the current date, and so on. Not sure if this would be a custom column in the dataset or if there is an existing function for this.
Any help is appreciated. Thanks!
Goto Quick Measures, in the "Calculation" dropdown, select "Totals - Running Total", pull in Base Value (what you want to aggregate) and Field (probably your calender) and here you are!

OpenOffice Calc complex functions

I'm wanting to set up a Calc sheet that will offer me stock reorder points on items that sell at a fast rate. In other words, using =Wanted In Stock # - (cell quantity) lets me know if I need to reorder the item or not. I have set up an example of this to further explain what I'm looking for.
The cells in Red tell me how many I need to order to maintain stock on hand wanted. Cells in Yellow show me I have plenty of stock in store, thus nothing to order.
The Yellow cells are just used for show and do not need anything else. The Red cells are what I'm wanting to get complex functions/formulas for. I'm wanting to do 3 things, if at all possible:
Have the Reorder columns hidden unless the item needs to be ordered. Though this isn't essential if it cannot be done
When items need to be reordered, have the column cell show with order count and have red background. Again not essential if cannot be done
Once finished with inventory on hand and reorder cells showing, then I would like a formula to print off a sheet showing the color, item # (306, 1041, etc), order quantity with red background. Those not needing to be reordered wouldn't appear on final order sheet. This on the other hand is really what I'm looking for
Is this at all possible? Or does anyone have a better suggestion?
It sounds like this report is what you are looking for:
To do this, first arrange the data into a single table:
Then select the table (cells A1 to D9) and go to Data -> Pivot Table -> Create, pressing OK to use the current selection. Drag "Color" to Row Fields, "Item" to Column Fields, and "Reorder" to Data Fields. (For LibreOffice, if it says "Data" under Column Fields, select it and press the Delete key to remove it.) Expand "More" ("Options" in LibreOffice), uncheck Total Columns and Total Rows. Then Press OK.
To hide everything that doesn't need to be reordered, right-click on the cell that says "Sum - Reorder" and choose Filter.... Under Field Name select "Reorder". Under Condition select ">", and set value to 0. Then press OK.
To practice using pivot tables, there is an example at http://dwmallisk.blogspot.com/2015/01/using-libreoffice-calc-to-create-pivot.html.
For more complex reports, it might be helpful to link your spreadsheet to the Base component of OpenOffice.

Can Power BI add range selection to a Line Chart?

I'd like to build a report with power BI line chart. For there are too many values on the X-Axis, I was trying to add a range selection on the X-Axis like what amChart does.
So, I'm wondering if power BI can do this.
Also, I want to add hyperlink to each value on the X-Axis to link to related shared folder, is it doable?
For time range selection, take a look at https://app.powerbi.com/visuals and try the Advanced Time Slicer visual. It might already do what you're looking for.
For the x-axis urls, you have several approaches you can try. The easiest approach is to have a related table in your report that shows the links. Then when a user selects a datapoint in your line chart, the table would update to show the relevant links. Alternately you might try to extend the Power BI line chart with your own logic. This might be hard since Cartesian charts are more complex than other charts. You can find the line chart code here: https://github.com/Microsoft/PowerBI-visuals/blob/master/src/Clients/Visuals/cartesian/lineChart.ts
Alternately you can just write your own purpose built visual that does exactly what you want. This might actually be easier than extending the Power BI chart. You can learn how to build your own visual by looking at our wiki: https://github.com/Microsoft/PowerBI-visuals/wiki
I was thinking about this more and wanted to mention one more solution. If you're looking to show the 'last n days' of data, instead of an arbitrary range, you can add a measure in DAX that returns the last days. I have an example here: http://blogs.msdn.com/b/lukaszp/archive/2015/08/08/finding-the-latest-date-in-power-bi-desktop.aspx