Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to show repeated values in Ad Hoc Crosstab


    Dhiraj Pahlani
    • Features: Ad Hoc, User Interface Product: JasperReports® Server

    Requirement:
    To show repeated values in Ad Hoc Crosstab.

    If we have a Crosstab and export it to Excel, repeated values are not shown and we only see the value once.

    e.g.,

    Country User Amount

    Germany A 2

    B 3

    C 4

    In Excel export this is pretty bad because we cannot filter anymore. Is there a way to generate Excel like this:

    Country User Amount

    Germany A 2

    Germany B 3

    Germany C 4


    Solution:
    When we design the Ad Hoc View, we can select the option 'Unmerge Crosstab Cells' to display the repeated values.

    After this, the Ad Hoc View will display values as per our requirement, and can be exported in a way we want. Please refer below screenshot:

    7.9unmergecrosstabcells.png.0949f9dcc43f378849a954d92070af1e.png

    From JasperReports Server 8.0.x, we can access the 'Merge cells' toggle from the right panel called 'Format Visualization'. Please refer below screenshot:

    8.0unmergecrosstabcells.png.260bb74f1321243ca35140c66ed7adac.png

    _____________________________________________________________________________________________________________________________________________________________
    Ref. Case #02120024


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...