Jump to content
Changes to the Jaspersoft community edition download ×
  • Ad Hoc Domain Views - Geographic Results by Segment


    iryzhikov
    • Features: Ad Hoc, Domains Version: v5.1 Product: JasperReports® Server

    Introduction

    A domain is a virtual view of a data source that is created and stored in the server without modifying the source. It allows administrators and power users to present data in business terms, allows for localization, and row or column level data security. Sample Domains are located in our Repository which is accessible by hovering over the view button.

    Product_Samples_ViewRepository(1).png.1978f836a762fe94dda3e1878492ed76.png

    From the Repository, drill down to Public -> Samples -> Ad Hoc Views folder and select "Geographic Results by Segment" Domain to display the view below.

    Supermart_DomainView_SampleGuide_Path.PNG.e25c0fb4403eda63252fd97b354180bc.PNG

    Data Analysis using Ad Hoc & Domains

    This sample was designed with Jaspersoft BI Professional or Enterprise edition using JasperReports Server Ad Hoc and Domain designer tools

    Key features to explore:

    • Quickly view or drill into different levels of data using the interactive charting and Dimensional Zoom toolbar on the upper right of the screen
    • Improve your understanding of the data by changing chart types and applying filters
    • Answer new questions by adding custom calculations to your data for on-the-fly insight

    Step 1. Using the Dimensional Zoom slider

    This interactive environment lets users explore their data based on the pre-defined Supermart Domain. The Dimensional Zoom tool is positioned to view the data by total Store Sales, Cost, and Unit Sales across Country and Store Type, filtered by sales greater than 19. When the view is run, it queries the provided sample database and caches the result set in-memory. Subsequent interactions with the data will be run against the cached result set.

    Supermart_DomainView_SampleGuide_StoreView.png.e452e8b0af8074e08da150e509aa7f7d.png

    Format the chart labels by selecting the Format Chart located at the upper left of the chart area (just below the Row box). A box will pop up and input 25 to the Rotate X axis label box.

    Supermart_DomainView_SampleGuide_Rotate_XAxis.PNG.f598690c931d86c956b3690586fe5de1.PNG

    Further aggregate your view of the data by country by moving the Dimensional Zoom tool left to view the Country level. Finally, move the slider all the way to the left to Totals across Store Sales, Costs, and Unit Sales.

    Supermart_DomainView_SampleGuide_CountryView(1).PNG.a831c9d87e5a52eee4c8d47e690e4e5d.PNGCaptureSupermart_DomainView_SampleGuide_TotalView.PNG.b77742756761afa9832fc7b6f1b1212c.PNG

    Step 2. Associate Different Data to your Analysis

    You can drag and drop new data fields to your visualization to associate additional data fields to your analysis. This might improve your insight or reveal new trends or questions related to your data. Expand the Sales-> Products folder within the Fields category and drag Brand to Rows box.

    Supermart_DomainView_SampleGuide_BrandToFilter.PNG.c663a241c5f382e18fa6dc77c0899483.PNG

    Step 3. Explore your Data with Interactive Visualizations

    Quickly analyze the performance of your Best, Best Choice and Better brands in four easy steps.

    1. Change the chart type to stacked bar - located to the upper left of the chart area (just under the Rows category)
    2. Right click on the Brand value within the Rows box and select Create Filter
    3. To the right of the page you'll notice the Brand filter box. Lengthen the box size and then multi-select the three brands called Best, Best Choice and Better brands
    4. Slide the Dimensional Zoom toolbar slider all the way to the right to re-draw the visualization

    Supermart_DomainView_SampleGuide_Best_BestChoice_Better.PNG.73d2ac9a441a3f24fabe92a249d5edb0.PNG

    Step 4. Add Custom Calculations

    The Ad Hoc View shows Store Sales, Unit Sales, and Store Cost totals. Using this data we can calculate Total Profit by adding our own custom calculation. The Ad Hoc editor allows a user to create their own custom fields. To calculate profit using this Ad Hoc View, go to the Measures section on the bottom left of the screen and multi-select the values "Store Sales 2013" and "Store Cost 2013" then right click and select Create Custom Field .... The custom field interface will pop up and offer multiple functions. Select "(Store Sales 2013) - (Store Cost 2013)" and select "Create Field".

    Supermart_DomainView_SampleGuide_HighlightedMeasures.PNG.9e4b69419a79007d8b842702e37436e7.PNGSupermart_DomainView_SampleGuide_CalcFieldInterface.PNG.401363aa75a775e87fcdcbae4f2020bd.PNG

    The new custom field will appear in the measures section and will become part of the chart.

    Supermart_DomainView_SampleGuide_CalcFieldComplete.PNG.2ea79fbbbfd2c23b45a52b2b93ba16f7.PNG

    Additional Report Sample Guides

    JasperReports Server comes packaged with a multitude of sample interactive reports, dashboards and analytic views that highlight many key product functionalities. These articles will walk you through through some JasperReports Server's features.

    Supermart_DomainView_SampleGuide_StoreView.png.4497e46dc502f69feae0b30012da22f4.png

    Supermart_DomainView_SampleGuide_Rotate_XAxis.PNG.faee9bd28c621b123546b64b1aefea51.PNG

    Supermart_DomainView_SampleGuide_CountryView(1).PNG.26f67daa032b6efe80afe7e422510808.PNG

    CaptureSupermart_DomainView_SampleGuide_TotalView.PNG.18bb568f0759b1a8e3c9417c28613a8f.PNG

    Supermart_DomainView_SampleGuide_BrandToFilter.PNG.6a4ab2ff7b518e0490decfbd009e4f79.PNG

    Supermart_DomainView_SampleGuide_Best_BestChoice_Better.PNG.40f6e94d5f7a730354838cc99968ea01.PNG

    Supermart_DomainView_SampleGuide_HighlightedMeasures.PNG.ca477a1dbd20e64851d6cd13d9cb801a.PNG

    Supermart_DomainView_SampleGuide_CalcFieldInterface.PNG.c745dab757eaa769dcb5102ea4f5aab5.PNG

    Supermart_DomainView_SampleGuide_CalcFieldComplete.PNG.ead0234960f3c4b04e0141013aaf690d.PNG


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...