Pentaho - Draw a target line in bar graph using Pentaho Report Designer - pentaho

I need to draw a target line as shown in the image using Pentaho report designer in a Pentaho Bar Graph.

you have two options.
1) using secondary data-source
2) bean-shell scripting
let me explain 1st option which is simple,
1)once you will double click on chart you will get two options on right side,Primary datasource and secondary datasource.
2)in secondary datasource specify categoty-columns and value-columns the field you want to display.
3)then in bar left side properties go to line options category and give details like line-style= solid, line-series-color=orange(specify colorcode) etc..

Related

Show tree structure in Azure Monitor Workbook

If I navigate to the "Logs"-section in Azure to find the entries of my Azure Monitor, I get a tree structure that looks like this:
In this example I am just showing all exceptions without any formatting.
By default I can expand an entry and then expand the stack trace etc.
I want to get the same behaviour inside of a workbook.
But here my items do not have any tree like structure. I just get a list of items like this:
The only thing I found was to change the column settings like this:
But this is not doing what I want. I think my exceptions do not have an id-parent id structure.
Any proposals how I can just show the same result in the workbook like in the normal query editor?
The grid control used by workbooks doesn't currently have that "Expand" behavior that the logs view does for expanding a single row inline.
The closest thing you can do, in the column settings for the grid, you can set a column to be a link, and have that link either:
open up the "cell details" view to get a side panel with the contents of that specific cell (useful if the cell contains json or other content)
open up the "generic details" view that shows all of the contents in that row
so for example in this example making the "tablename" column a text renderer (you can use links with any kind of renderer though), and making it open up the "generic details" view with these settings:
will result in a popup on the side that looks like:
(in this case i only have 2 columns so it isn't very exciting!)

SSRS: The content of the tabix doesn't go to next page although page breaks have been added

I have problem with SSRS 2008
My rdl file can be downloaded from: https://www.dropbox.com/s/qsvreevwfnb5n1w/rep10studentyearlyreport_new.rdl?dl=0
My problem is that even after I set Add a page break before for table of 'Student Enrichment Programme', when I export to pdf file, the content of Student Enrichment Programme doesn't start at new page. Please take a look at the picture belows:
https://www.dropbox.com/s/i3jvdwmmhoaexa7/pdfFile.png?dl=0
try on the report on Tablix Properties
To add a page break to a data region
1 On the design surface, right-click the corner handle of data region and then click Tablix Properties.
2 On the General tab, under Page break options, select one of the following options:
- Add a page break before. Select this option when you want to add a page break before the table.
- Add a page break after. Select this option when you want to add a page break after the table.
- Fit table on one page if possible. Select this option when you want the data to stay on one page.
On the design surface, right-click the corner handle of data region and then click Tablix Properties.
After that On the General tab, under Page break options, select one of the following options
SET On Tablix Properties Under PageBreak Set Breaklocation = Start
![enter image description here][4]

Add some (Master) Shapes to another (Master) Shape in Microsoft Visio 2013 x64 when add a (Master) Shape to the Page

I want to create a new Master Shape in the Microsoft Visio 2013 x64 like the Class Master Shape in the UML Class Stencil.
When add the Class Master Shape to a page, it appends two Member and one Separator Master Shapes in itself automatically. Furthermore, can add more Member and Separator Master Shapes in it.
I was thinking that it adds other Master Shapes in itself by some written VBA codes; however, when I checked the file of the UML Class (Metric) Stencil in the following full path, I got that it uses no VBA codes, not at all.
D:\Program Files\Microsoft Office\Office15\Visio Content\1033\USTRME_M.VSSX
The file extension is "Visio Stencil (.vssx)" instead of "Visio Macro-Enabled Stencil (.vssm)"; so, it can't have VBA codes.
I know that I can do something by adding some new Rows in the Actions Section of the ShapeSheet; however, it doesn't exist any action Rows to add fresh Member and Separator Master Shapes for Class Shape.
Figure 1 - Separator Shape with two additional options in the Context Menu and without any related rows in the ShapeSheet
Figure 2 - Display a Bar to insert Separator Shape
Figure 3 - Member Shape with two additional options in the Context Menu and without any related rows in the ShapeSheet
Figure 4 - Display a Bar to insert Member Shape
When I do RMB click on a Class Shape that is placed in the page, it has two new options in the Context Menu:
Show Template Parameter
Show Stereotype
And I see related Actions' Section Rows for them.
Figure 5 - Class Shape with two additional options in the Context Menu and related rows in the ShapeSheet
When I do RMB click on the Member and Separator Shapes in added Class Shape, can see "Insert "Member/Separator" before/after"; however, when I add Member and Separator Master Shapes on the page directly (not in the Class Shape), when I do RMB click on them, can't see extra options in the Context Menu.
Figure 6 - Separator Shape with no additional options in the Context Menu
Figure 7 - Member Shape with no additional options in the Context Menu
I checked their ShapeSheet and can't find any related rows for above-mentioned actions.
Now, my question is that how can I create a new Master Shape with the ability to accept some other Master Shapes without any VBA codes like Class Shape in the UML Class Stencil that is created by Microsoft?
This feature is called "List" (structured diagram) in Visio (was introduced in Visio 2010). To allow this sort of functionality (allow some shape to "accept" others similarly to "class" shape), you need to declare the shape to be a "list", by setting the user property User.msvStructureType="List" in it's shape sheet. To declare type of items it should accept, you also need to set the cell User.msvSDListItemMaster = USE("Your item's master name"). Means, you can just draw a plain rectangle (for example) and then convert it into a "List" by adding these two user properties. There are more options available for lists/container (such as margins, behavior, etc).
The MSDN article describing this functionality in details: http://blogs.msdn.com/b/visio/archive/2010/01/12/custom-containers-lists-and-callouts-in-visio-2010.aspx

SSRS not displaying data but displays data when query runned in tsql

I have a SSRS report that do not display data in preview mode. However, when I run the same query in SQL Server 2008 R2 I can retrieve the results
What could cause this?
I also used Set FMTOnly to off because I use temptables.
if you use "SQL Server Business Intelligence Development Studio" not "Report Builder" then on reporting services (where is you table):
click View -> Properties Window (or just press F4)
select the tablix
on properties window find "General" and in the "DataSetName" choose your "Dataset"
On tablix fields set values from your "DataSets"
Or just do like here(from 8:50): http://www.youtube.com/watch?v=HM_dquiikBA
The Best solutio
Select the entire row and change the font to arial or any other font other than segoe UI
default font
default font
no display in preview
no display in preview
changed font first row
changed font first row
first row is displayed in preview
first row is displayed in preview
changed secon row font
changed secon row font
data is displayingig
data is displayingi
A workaround should be:
1) Select the parameters and click on View Report (you will not see nothing or some cells will display content and some not)
2) Click on Print Layout (next to the printer)
You will be able to see content. If you have expand/collapse functionality and then you will not be able to interact with the UI.
I faced similar issues. If you remove/delete the parameter, open the dataset definition and refresh the fields, the parameter should be recreated. Then run the report. It worked for me.

The data set name is missing in the data region 'DataSetName'

I added an additional, new DataSet to my report and have been getting this cryptic error ever since.
The issue was that when the report had elements setup using the first data set I'd defined when the report was created. Adding an additional data set reset the DataSetName value to be blank. In this case for my Table but it could be for a List, etc.
To correct:
Open the report in SQL Server Business Intelligence Development Studio (AKA Visual Studio)
View the object details in the Properties Window (View > Properties Window or press F4)
Check the DataSetName value (under the Data section)
Update the value to point to the correct Data Set
Examine your RDLC file, open it in a XML editor. Most specifically, take a look at the Dataset section. See if there are some old ones that are still there. You can edit this file directly, but be careful what you do.
You can also attempt to run the RDLC file through a XML validator, and see if it comes up with any errors. Make sure to validate against the RDLC file's schema. (http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition/ReportDefinition.xsd)
I had a bit of trouble finding the correct properties window that contained this value, so I will add the following:
On the Layout Tab, press F4 to bring the properties box up.
In the dropdown at the top of the properties box, find your table and select it.
You should now see that data section about halfway down, along with the DataSetName property the error is complaining about.
I know this is a decade late, but this is to possibly help the next guy that is searching the internet for answers (like me).
In SSRS, right-click any unused/white area of the report then choose Select-> and the Group level (not group level content) that you are getting the error about.
In the properties window (Menu->View->Check Properties) for the Group Level, scroll down to General the DataSetName. Select the drop down arrow and choose the original dataset.