I'm using PB 12.5. I have a DW report that has a nested report. I need to find out, for each row in the master DW, how many rows there are in the child (nested) DW.
At first I tried to do GetChild() to get the child DWC, and a RowCount() on that, but that's not per row of the master. (I am actually not sure what it does.)
And actually, the GetChild() I was trying returned -1 (failed). I see in the help that you can't do it if the master is a composite DW, but that wasn't the case, it's a normal DW with a nested report, so I would have thought it would work.
Is there a solution to this?
Of course I can do a completely different work-around, adding a column to the master DW that uses a SQL subquery to get the rowcount of the rows that will also be retrieved in the child. But then I'm having the DB do some of the same work twice.
Thanks.