It's all about the answers!

Ask a question

Unable to get actual values for custom attributes in the BIRT report


Pravin Patil (104146134) | asked May 25 '15, 1:00 p.m.

Hi, I followed all the steps mentioned at http://www.ibm.com/developerworks/rational/library/create-custom-reports-birt-rtc/. Now when I run the report (to display the MAIN dataset) it gives me ID of the attribute and not the actual value. For e.g. I have one of enumeration called "Change Type, id=change_type. In report, I get its value as change_value_literal.l7 whereas I want the actual value like "Individual Change".

Please suggest. What is the proper way of getting actual values of custom attributes in BIRT reports.

2 answers



permanent link
Donald Nong (14.5k614) | answered May 26 '15, 2:19 a.m.
If you have read the developerWorks article, I assume that you have already read the three-part series mentioned in the "prerequisite" section, particularly "Part 3. Advanced reporting techniques".
http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/index.html
Do you have any difficulties in understanding the concept of using scripted variables to map the enumeration literals to the IDs?

permanent link
Tiago Moura (8387) | answered May 25 '15, 1:12 p.m.
I didn't check if the answers here are right, but on this question you can find a lot of discussion about reporting custom enumerations.

Remember, before create a new question always search for it, often someone already asked.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.