<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Second Level of Sub Report Error In Paginated Report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Second-Level-of-Sub-Report-Error-In-Paginated-Report/m-p/2743022#M38313</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the following threads which has the same problem as yours, hope it can help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/15672786/ssrs-2008-r2-lookup-from-subreport" target="_self"&gt;SSRS 2008 R2 - Lookup from subreport&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;No, the lookup function won't go beyond the scope of the report. Your question isn't very clear on what exactly you're trying to accomplish (which would be helpful) but I'll try to guess.&lt;/P&gt;
&lt;P&gt;If you're looking to pass some values to the subreport from the parent's dataset you could check&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://geekswithblogs.net/thomasthedeuce/archive/2009/11/13/136287.aspx" rel="nofollow" target="_blank"&gt;this blog post about doing that&lt;/A&gt;, though I haven't tried it myself. You could also use a shared dataset to avoid rewriting your queries if you need to use the dataset again in both of the reports.&lt;/P&gt;
&lt;P&gt;According to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/e1fc8e37-781e-4e96-b582-529d0befb400" rel="nofollow" target="_blank"&gt;this msdn social thread&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;it doesn't appear to be possible to pass a value to the parent report from the subreport. However,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.sqlservercentral.com/Forums/Topic834917-1063-1.aspx" rel="nofollow" target="_blank"&gt;another thread on sqlservercentral.com&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;seems to have some promise but it didn't seem to work for everyone. Once again, I haven't tried it myself.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-lookup-function?view=sql-server-ver16#remarks" target="_self"&gt;Report Builder functions - Lookup function in a paginated report (Report Builder)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 09:05:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-02T09:05:42Z</dc:date>
    <item>
      <title>Second Level of Sub Report Error In Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Second-Level-of-Sub-Report-Error-In-Paginated-Report/m-p/2738523#M38278</link>
      <description>&lt;P&gt;LookupSet or Lookup functions seems to be breaking a sub report within a sub report so 2 levels deep. Any ideas why? Removing LookupSet function in a field and report starts to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setup&lt;/P&gt;&lt;P&gt;Report 1 has Report 2 as a subreport and Report 2 has a subreport Report 3. The lookup function is on Report 2 and Report 1 does not work. Report 2 works. Removing lookup function from Report 2 causes Report 1 to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 15:30:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Second-Level-of-Sub-Report-Error-In-Paginated-Report/m-p/2738523#M38278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-31T15:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Second Level of Sub Report Error In Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Second-Level-of-Sub-Report-Error-In-Paginated-Report/m-p/2743022#M38313</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the following threads which has the same problem as yours, hope it can help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/15672786/ssrs-2008-r2-lookup-from-subreport" target="_self"&gt;SSRS 2008 R2 - Lookup from subreport&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;No, the lookup function won't go beyond the scope of the report. Your question isn't very clear on what exactly you're trying to accomplish (which would be helpful) but I'll try to guess.&lt;/P&gt;
&lt;P&gt;If you're looking to pass some values to the subreport from the parent's dataset you could check&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://geekswithblogs.net/thomasthedeuce/archive/2009/11/13/136287.aspx" rel="nofollow" target="_blank"&gt;this blog post about doing that&lt;/A&gt;, though I haven't tried it myself. You could also use a shared dataset to avoid rewriting your queries if you need to use the dataset again in both of the reports.&lt;/P&gt;
&lt;P&gt;According to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/e1fc8e37-781e-4e96-b582-529d0befb400" rel="nofollow" target="_blank"&gt;this msdn social thread&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;it doesn't appear to be possible to pass a value to the parent report from the subreport. However,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.sqlservercentral.com/Forums/Topic834917-1063-1.aspx" rel="nofollow" target="_blank"&gt;another thread on sqlservercentral.com&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;seems to have some promise but it didn't seem to work for everyone. Once again, I haven't tried it myself.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-lookup-function?view=sql-server-ver16#remarks" target="_self"&gt;Report Builder functions - Lookup function in a paginated report (Report Builder)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 09:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Second-Level-of-Sub-Report-Error-In-Paginated-Report/m-p/2743022#M38313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-02T09:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Second Level of Sub Report Error In Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Second-Level-of-Sub-Report-Error-In-Paginated-Report/m-p/2743773#M38327</link>
      <description>&lt;P&gt;Hi and thank you for the info. This was not about lookup function going beyond the scope of the report like using a lookup function to lookup data in another subreport.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is about a subreport that has a lookup function within its own report fails. Here is more info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Report 1 has Report 2 as a subreport. Report 1 has its own dataset1 and passes parameter to Report 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Report 2 has a subreport Report 3. Report 2 has dataset2a and dataset2b.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Report 2 has a lookup function in a table using dataset2a lookup on dataset2b. Report 2 passes parameter to Report 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Report 3 has one dataset3 and no lookup functions and is the last report in the chain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Report 2 loads fine and you can see Report 3. Report 1 does not work. Removing lookup function in Report 2 fixes the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this more clear?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 14:11:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Second-Level-of-Sub-Report-Error-In-Paginated-Report/m-p/2743773#M38327</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-02T14:11:25Z</dc:date>
    </item>
  </channel>
</rss>

