Need Help with a Custom Expression in Report Builder
I need help with creating a custom expression to get the first table to look like the second table. Any suggestions will be appreciated
156 <o:p> </o:p> |
Red <o:p> </o:p> |
Charlie <o:p> </o:p> |
<o:p> 156 </o:p> |
Blue <o:p> </o:p> |
Alpha <o:p> </o:p> |
<o:p> 156 </o:p> |
Green <o:p> </o:p> |
Delta <o:p> </o:p> |
156 <o:p> </o:p> |
Red <o:p> </o:p> |
Charlie <o:p> </o:p> |
Blue <o:p> </o:p> |
Alpha <o:p> </o:p> |
|
Green <o:p> </o:p> |
Delta <o:p> </o:p> |
One answer
I think this is working as designed. The actual results are 3 rows each with 3 populated columns.
For report results displayed in the web UI, when you have sorting, the UI presentation performs grouping presentation. When you export to CSV, you're exporting the actual results of 3 rows with 3 populated columns.If you want the CSV to be different, you might post-process it or use Excel macros. I don't think there is a way to do what you are asking natively in Report Builder.
Comments
I understand it is working as design, however, arent there ways you can do a custom expression within Report Builder? I've Concat multiple rows, to print out as i wanted with a comma separating the attributes before doing an custom expression IE the example above,
Also, doing it post process will not allow me to use Report Builder to do my PUB template with the correct information...as the template uses the dta from Report Builder hence why i need it done in Report Builder, not Post Report Builder
156 | Red | Charlie
156 | Blue | Alpha
156 | Green Delta
156 | Red, Green, Blue | Charlie
156 | Red, Green, Blue | Charlie, Alpha, Delta
In order to express the data correctly, you need to group concat the concat of column 2 and column 3. Something like:
156 | Red:Charlie, Green:Alpha, Blue:DeltaThat would be a correct compact representation of the data.
True, I was just giving you a vague example on what I have done before not specific to just this example if that makes sense. Just implied I concatenated other values separated with a comma...but I have not been able to merge a cell together that has the same value as 156 does to just have one number not the 3 156's.
I need to customize the report in Report Builder so that when I use the .DTA for Pub I get the correct Template in order to create my Document from Report Builder.
Comments
David Honey
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 29 '22, 1:20 p.m.What's the meaning of <o:p>?
What does that first column represent?
Why is the first column sometimes showing the <o:p> after the 156 and other times after it?
You'll need to give details of what this data represents.
Marcus Whitehead
Nov 30 '22, 7:12 a.m.Those are empty spaces this forum added after copying the chart from MS office...