Hi There I'm quite new to Power BI wanted to ask some advice on a Approach for visualising some data.
1) I Would like to Group together some values to display as a indicator (green or red) depending on the value.
for example:
VM Running= green
VM Deallocated= red
2) and to also list all machine names from the dataset into the report under each indicator
and example of the actual Test data is below i would like to visualise:
and an example of the visualisation i want to create:
Any Advice on Approach or how to achieve this in MS PowerBI?
Thanks!
To get exactly what you want, I think you would need to create your own custom visual.
Since creating a custom visual takes some time to figure out, I explored options with existing resources and I was able to create something close-ish to what you want. To get the custom visual into your report, click on "Home" -> "From Store" (in the Custom Visuals group)
In the dialog that pops up, search for "dot plot" and click on "Add" by the "Dot Plot by OKViz" visual.
You will now see a new icon in the visualization panel.
Before we use that visualization, let's look at the data I used. I created some sample data similar in structure to yours and then added one column using the below DAX formula.
Value = RANKX(Attendance, Attendance[Class],, ASC, Dense)
Now we create a new dot plot and fill in the fields as show below.
That results in something that looks like this.
You can then change the black circles to red, by clicking on the paint roller icon between the Visualizations panel and the data panel.
From there, it is up to you how you want to present it. I did some additional tweaking to the formatting and added some cards for the class name (configured as shown below)
In the end, it could look something like this.
You could also split it up by class (group) and get something that looks like this.
Related
I can't seem to figure out why the design aspect of Report Builder/Report Designer is so messed up. Either I don't understand why it is doing this (most likely) or this is just the way it is.
Every Element I add to my report seems to not show up, align or look correct in the actual preview. If I add a line that snaps to another line which looks correct in design, looks totally incorrect in the final version. This is just one example of many, see below for images showing this behavior.
If I have a field (text box) tied to a data set and I position it in a certain area, it creates weird white space, is centered wrong or worse, when re-positioning the aforementioned line element, it seems to move other nearby elements in some erratic way. In the obfuscated example, the carrier fields are all basically stacked on top of each other, while in the preview they are spaced properly, but further down in the document if I do the same thing it ends up looking drastically different.
Is this a bug? Is this how RDL and Report Designer work? Is there some trick to element positioning? Is it relative to other elements, based off of foreground vs back ground elements? Does copying a text box to create more text boxes affect them in some way vs. creating a new element each time? I can't figure it out and do not know what to search for to find the answer to this.
This seems to be a "quirk" of how Report Designer works and I just haven't found the secret to it yet. If there is some exact positioning dialog available, I would prefer to use it instead of my mouse and these issues as I have a down-to-the-MM spec document for how this should be designed, but I cannot figure it out.
I am using Report Builder 14 for SQL Server 2016. It is a one page form (an ASN label) held within a table and all elements are within a rectangle element.
Is there an online resource or Report Designer guru who can point me in the right direction when it comes to this?
Example of the vertical line element looking incorrect in Preview/Final
Example of the vertical line element looking correct in Design View
EDIT: Like HOW does this even make sense?
SSRS renders so that the elements do not overlapp. In addition every element get enough space, vertical and horizontal. Basically you cant control this but there is a workaround.
If you put a rectangle in your report and place textboxes in that rectangle, they get rendered like you placed them. This also works in a tablix cell.
Another solution for your problem would be to display everything in one tablix cell. Your expression would be looking like this:
="Ship to: " & Fields!Adress.Value & ". Postal Code: " & Fields!PostalCode.Value
You even can add line breaks and tabs into that expression.
Given the impressive flexibility of the platform, I feel certain there is a way to accomplish this but I'm having trouble putting it together. I have a dashboard in Tableau that is comprised of two data visualizations. On one sheet I have a bar graph of sales by category that is filtered by Month/Year of sale, pretty straight forward. On the other sheet I have a simple line graph of totals sales over time. This gives the user context for the sales per month they see represented in the bar graph.
What I would like to achieve is this: When a user changes the Month-Year filter for the bar graph, I would like an annotation to show up on the line graph that highlights that month in the overall sales data along with some summary stats (total sales, average order price, etc.). I have been reviewing the following dynamic annotations concept http://vizpainter.com/dynamic-annotations-part-3/ but I don't think it will get me where I want to go. Any suggestions would be greatly appreciated.
Thanks,
Ryan
There are three things you need to learn how to use in Tableau: Tooltips, Annotations and Worksheet actions.
Most data can be added to a tooltip and formatted however you want. Tooltips will appear dynamically when you hover over parts of the dataviz. If you want permanent labels then you can use Annotations (which can be attached to a data point or area and can contain dynamic data).
Worksheet Actions allow events on one sheet to trigger changes in what is shown on another. For example, a selection of worksheet A can Highlight an area on worksheet B, which is what you want.
The best way to learn how to use these is to follow the online documentation and help. But the first step is knowing what to look for. Search for Tooltips, Annotations and Actions in the online help.
As an alternative look for examples using these tools on Tableau Public. Here is a link to a dashboard that uses Actions and Dynamic Tooltips to explore the popularity of UK childrens' names: https://public.tableau.com/shared/NCJ6F59B9?:display_count=yes
Feel free to download and explore how actions and tooltips are used.
First off, i created an Album of screen shots describing my problem Click HERE(4 images hosted on imgur.com)!
Includes a brief description of each image.
(I am new to VB, but i have some programming background)
So as the title suggests i am trying to set the visibility of a CheckBox in a REPORT, based on a string value in a query.
I am getting the RunTime error shown in the Screenshot Album. Ive been trying to google the problem all day with no luck.
I think i might be incorrectly referencing the report [Reports]![Report_rptTenure_sub], but i cant be sure.
Any input or suggestion is welcome.
It looks like it might be [Reports]![rptTenure_sub], just based on the actual name shown on the tab of the report in your screenshot.
I have been googling for a good description of this but am not having much luck. I am pretty new to SSRS reports and I am probably not using the correct terminology here. If someone could point me towards an article that describes this that would suffice.
Basically I want to pull a bit into my report, and based on the value of that bit (or maybe a varchar) I want to render an address in different formats, or add/remove some sections completely form the report. I suspect this is basic functionality but am having trouble finding an example. Any help would be appreciated!
Thanks!
If you have a table/matrix the best place to put stuff like this is in columns that are outside of the detail or any groups at the top of the table. You can merge all the cells and add rectangles to add specific formatting. The neat part about using header columns is they can be hidden and the space used will not be rendered.
Say you have a table and Row1 and Row2 contain different formatting of the same data. If you have a report parameter named ShowFormat1 then you can optionally hide/show the correct row with formatting.
Click Row one and Set its Hidden property to =!Parameters!ShowFormat1.Value
Click Row two and Set its Hidden property to =Parameters!ShowFormat1.Value
The same concept can be applied to all elements if you are not using a table or matrix. Non-repeating controls, Rectangle or Image for example, can be hidden but the space used will still be rendered.
I am creating simple application in NI LabVIEW - Lissajous Curves from signal generated by NI Elvis.
I have already added Osciloscope control and connected it to the XYGRaph. But I would also like to have some values that could be changed. I would like to have options to set values like in this image:
How can I Add them to my project?
Thanks in advance
The two highlighted controls look like 'Dial' controls which can be found on the 'Numeric' palette on the 'Modern' control palette (also in 'Classic' and 'Silver' depending on you LabVIEW version).
Looking at the Vertical Position control this has the numeric indicator visible which can be show by right clicking on the dial, and from the menu move across 'Visible Items' and select 'Digital Display'.
The Scale Volts dial looks to have some kind of drop down menu which I guess would have pre-set values. You could use an enumerated data type for this and code you user interface event structure to sync these two. Your user interface event structure could also update the properties of the graph (use a Property Node from the 'Application Control' Pallet of the 'Programming' section of the Block Diagram 'Functions Pallet') to change the displayed range (Scale Volts).
Have you looked at the example code from the image block diagram?
The two highlighted boxes are known as Knob controls. There are a variety of controls for changing values in LabView.
Please see the below figure to understand what I am trying to explain.
This is how you get the knob controls:
http://i.stack.imgur.com/sICHw.png
How to assign the values to the min and max of the control can be changed from the knobs property. Right click -> property. see below
http://i.stack.imgur.com/wxfsC.png
If you have any further questions, don't fail to read up the help from Labview. Its quite useful and very demonstrative.