Pentaho Report Grouping & Hide/Show Elements - report

I am using Pentaho Report Designer & BI server 5.0.1.
I'm having a report like,
I need to show insurance coverage details and risk details under that coverage for an insured( one insured can have many coverages and each coverage can have many risks).
We are having 20 different coverages and each having different elements and different risk details.
I thought of using three groups with
Insured at Group1
--> Coverage Details at Group2
--> Risk Details at Group3
my doubt is,
can we show different elements in Group2 based on coverage type?
can we done this using groups or do we need to use sub reports for each coverage type? not sure what will be suitable for my requirement?
I need to conditionally hide/show columns, but 'invisibleConsumesSpace' property is not working in PRD 5.0.1. need some alternative for that.

The invisible consumes space property must be set on the band that contains the element. It governs how the band interprets the visible flag of its clients.
If all your data is contained in one result-set, then the normal way of showing different record types is via using a conditional visibility function to show/hide the appropriate elements.
You can find an example of that in "Income statement" sample, but here is the general approach:
(1) Set your details- and other band that should display multiple record types to layout "block".
(2) Add a sub-band for each record type.
(3) On each subband, add a formula (green plus on the styles) to the "visible" style element that returns true if the record should be shown, and false otherwise.
Then simply fill in your elements for each band.
Note that this method does not easily allow you to change the grouping within this structure. If you need different group configuration based on the record type, you might find it easier to use subreport.

Related

Show Two Groups in Tableau Heat Maps

I’m relatively new to Tableau and have a question.
I want to create a heatmap show the location of two different groups of people. I’ve learned how to overlay maps using dual axis but the problem I keep running into is that each group requires different filters to aggregate the data the way I want.
Basically, I want to show:
Group1.id IF charge_id IS NOT NULL
And
Group2.id IF status = ‘ACTIVE’
Whenever I create a calculated field with one of the above calculated fields and place it in the filters box it automatically removes the other group from the map because the filters contradict one and other.
Help is much appreciated 😊
The filter shelf applies to the entire worksheet, so if you want to “filter” each field selectively, use an IF expression in a calculated field that evaluates to null when you don’t want that field in the view.
Give sample data if you want more detail

How to auto restrict the view in rpivottable to be data protection compliant

I am starting a customer lifetime project at work and want to share how the data looks with the business, as I want to be able to identify the important variables with them. I plan to do this using the excellent rpivottable package and launch a shiny app to see where there are basic differences in groups to select my features.
This would mean I have my customer base of 4million customers and slice and dice them in a number of ways.
However, following GDPR we need to ensure no group is shown that has less than 7 customers in it. Therefore I need somekind of background calculation to ensure that less than 7 customers are never shown.
If I think logically about this, the only way I could see it working would be to make a change to the pivottable, have some form of submit button, so that the size of groups could be calculated, and then a filter (which needs to be hidden from the user so it cannot be switched off) is applied.
I know I should provide code, but I do not know where to start here. Has anyone had similar issues and has a potential solution to all or part of the problem?
Has anyone built a hidden filter into their rpivottable?
Has anyone been able to restrict their output to only show 90% of their data?
Thanks,
J
To be absolutely sure, you would need to load in a data frame that looks like "dim, dim, dim, count" where count is always greater than 7. Basically just a bit of preprocessing on your input data. Unfortunately, this means that you will be restricted to a small number of coarse dimensions, else you will end up filtering out everything.

Custom SSIS data flow component with multiple output in asp.net

I am building a Custom SSIS data flow control which will provide three out put flow based on some rules validation. Please help me what exactly I need to implement in ProcessInput method to redirect data in these three output based on the some logic applied on the input
If I understand correctly, I think you want to route each 1 of the 3 outputs from the Custom Control component shown in your data flow, to various different destinations based on conditions. For that, you could use a CONDITIONAL SPLIT Component as shown below.
You can split the input into 2 or more row streams by giving the CONDITIONAL SPLIT various conditions that look at column values etc.
If my understanding is incorrect, then please update your question with more details on your situation.

Microstrategy intelligent cube data aggragation

I created a cube that contain five attributes and a metric and I want to create a document from this cube with different visualisations for each attribute. the problem is that data in the cube are aggregated based on all attributes in the cube, so when you add a grid with one attribute and the metric the numbers will not be correct.
Is there any way to make the metric dynamically aggragate depending on the attribute in use?
This depends what kind of metric you have in the cube. The best way to achieve aggregation across all attributes is obviously to have the most granular, least aggregated data in the cube, but understandably this is not always possible.
If your metric is a simple SUM metric then you can set your dynamic aggregation settings on the metric to just do SUM and it should perform SUM's appropriately regardless of the attributes you are placing on your document/report? Unless your attribute relationships are not set up correctly or there are some many-to-many relationships taking place between some of those attributes.
If you metric is a distinct count metric, then the approach is slightly different and has been covered previously in a few places. Here is one, on an older version of Microstrategy but the logic can still be applied to newer versions.:
http://community.microstrategy.com/t5/tkb/articleprintpage/tkb-id/architect/article-id/1695

Need some hint on design a dynamic chart showing wavelength(s) for element

I have a very interesting challenge here for my Flex project development.
I now have an experiment wizard which consists of three states.In the first state,the user selects the elements they are interested from the periodic table.
When it comes to the second stage,now we have the elements that the user selected in the first state,and these elements are shown on a list A',the user can select an element from there. Also,I have an xml file that has the intensities and wavelengths for all the elements in the periodic table
Now my challenge is ,I need to build a dynamic image there to show the intensity of the element that the user selects from list A',and also show the neighboring(in terms of the wavelength) 10 elements' intensities on this image too.The X-axis is the wavelength while the Y-axis is the intensity.So the neighboring here basically means the elements has neighboring wavelength values.
All the intensity and wavelength data can be read from the xml file,but I am really stuck here from what kind of component to use and how to make it shown dynamically,so please offer some suggestions please,thanks in advance.
Clarify your flex version 3 or 4.
Read this to use core components
http://livedocs.adobe.com/flex/3/html/help.html?content=Part7_DataVis_1.html
In other cases you could try to use raw Graphics component to draw lines/points/plots etc. as you want or look for some 3rd party components like http://flare.prefuse.org/

Resources