show elements of array in my report birt

Options
rafex
edited February 11, 2022 in Analytics #1

I have a string pot example cad="aaa;bbb;ccc;ddd;eee"
1st. i need separates in elements cad[0]=aaa, cad[1]=bbb, cad[2]=ccc, ....
2nd. i need show this element in my report into grid.
element 1: aaa
element 2: bbb
element 3: ccc
....

Note. the cad can it n element separates to ";" , so the array can be of the n element
please help me
Thank

Answers

  • Can you help answer this question?

    We have noticed this question is over 30 days old and hasn't received a response. We're turning to you, the community, to help answer it.

    This generic response is intended to prompt discussion in this post. The question remains open to your answers, suggestions, and best practices.

    If you posted this question and were able to resolve the issue, please share your solution here with others. If you still need additional help, though, please let us know. Your question and its resolution are important to us, and we want to help.

    • Please note that questions to the developer network are typically peer-to-peer, best effort responses.
    • Additionally, note that posting questions to General may not be answered by a product expert. The General forum is for non-product questions. Please be sure to post your product-specific questions to the proper product forum.

    David Sciuto

  • jfranken
    edited April 23, 2018 #3
    Options

    One option is to use a scripted data set. I have attached an example (create in 4.7). The code is in the data set's Open and Fetch event handlers. The JavaScript "split" method converts strings to arrays.

    Warning No formatter is installed for the format ipb