Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to use report's CSV data source in Table or Crosstab component


    Friendly User
    • Features: Custom Data Sources Product: Jaspersoft® Studio

    Scenario:

    You are creating a report that uses a CSV file as a data source. You want to use a table or a crosstab in a report and have created a subdataset element in the report for that. When the report is previewed, nothing is displayed in the table. How to proceed here?

    Solution:

    Assuming you will be using the same data source in the subdataset, you will need to do the following:

    1. In the table/crosstab element properties go to Data set tab
    2. do "Use a JRDataSource expression" and then pass $P{REPORT_DATA_SOURCE} in there
    3. Click on Parameters Map button and put $P{REPORT_PARAMETERS_MAP}
    4. Preview

    User Feedback

    Recommended Comments



    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...