Forum Discussion
FrancoCNR
6 months agoFrequent Visitor
Paginated Report - Measure and Recordset From Query consideration
Hallo, i'me newbie in Power BI and i've 2 questions: I've PRO License. 1. Is possibile with a Paginated Report (.rdl) obtain data from Oracle Store Procedure that return SYS_REFCURSOR passing one ...
RicardoTraNa
6 months agoResponsive Resident
Hi!! With Paginated Reports you generally cannot pass an OUT SYS_REFCURSOR from an Oracle stored procedure using OLE DB. The report expects a query that directly returns a result set. The usual workaround is to wrap the procedure in a table/pipelined function or view and query it with SELECT * FROM TABLE(...).
In the other hand, measures in paginated reports don’t behave like in Power BI Desktop. You can’t reliably use a measure to filter groups/datasets because filtering happens before measures are evaluated. The best approach is to push the filter logic into the SQL/query or create a calculated field in the dataset.
Hope this helps!