<?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 Report builder : total of several SUM from several datasets in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-builder-total-of-several-SUM-from-several-datasets/m-p/1558962#M17229</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem and request are for REPORT BUILDER.&lt;/P&gt;&lt;P&gt;In order to do a total of several SUM from several datasets,&amp;nbsp; I have 2 requests :&lt;/P&gt;&lt;P&gt;1- How to call an already created textbox (textebox32) in another Text Zone ?&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;I tried this, but it doens't work :&amp;nbsp;=Fields!Textebox32.Value&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;I also tried this :&amp;nbsp;=Fields!Textebox32.Value, "dataset1"&lt;/P&gt;&lt;P&gt;2- I want to do the total of several SUM from several datasets, how to do ?&lt;/P&gt;&lt;P&gt;I have 3 sums, and i want to do a total :&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;sum(Fields!deduction_1.Value, "Dts_dataset1")&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;sum(Fields!deduction_2.Value, "Dts_dataset2")&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;sum(Fields!deduction_3.Value, "Dts_dataset3")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think if I can call the 3 textboxes (my first request), then I could do the sum ?&lt;/P&gt;&lt;P&gt;Thanks everybody &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 10:20:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-18T10:20:46Z</dc:date>
    <item>
      <title>Report builder : total of several SUM from several datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-builder-total-of-several-SUM-from-several-datasets/m-p/1558962#M17229</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem and request are for REPORT BUILDER.&lt;/P&gt;&lt;P&gt;In order to do a total of several SUM from several datasets,&amp;nbsp; I have 2 requests :&lt;/P&gt;&lt;P&gt;1- How to call an already created textbox (textebox32) in another Text Zone ?&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;I tried this, but it doens't work :&amp;nbsp;=Fields!Textebox32.Value&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;I also tried this :&amp;nbsp;=Fields!Textebox32.Value, "dataset1"&lt;/P&gt;&lt;P&gt;2- I want to do the total of several SUM from several datasets, how to do ?&lt;/P&gt;&lt;P&gt;I have 3 sums, and i want to do a total :&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;sum(Fields!deduction_1.Value, "Dts_dataset1")&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;sum(Fields!deduction_2.Value, "Dts_dataset2")&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;sum(Fields!deduction_3.Value, "Dts_dataset3")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think if I can call the 3 textboxes (my first request), then I could do the sum ?&lt;/P&gt;&lt;P&gt;Thanks everybody &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 10:20:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-builder-total-of-several-SUM-from-several-datasets/m-p/1558962#M17229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-18T10:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Report builder : total of several SUM from several datasets</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Report-builder-total-of-several-SUM-from-several-datasets/m-p/1561735#M17236</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My problem and request are for REPORT BUILDER.&lt;/P&gt;
&lt;P&gt;In order to do a total of several SUM from several datasets,&amp;nbsp; I have 2 requests :&lt;/P&gt;
&lt;P&gt;1- How to call an already created textbox (textebox32) in another Text Zone ?&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;I tried this, but it doens't work :&amp;nbsp;=Fields!Textebox32.Value&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;I also tried this :&amp;nbsp;=Fields!Textebox32.Value, "dataset1"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Fields refers to items in datasets, to reference a text box you would use the ReportItems collection&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;eg.&amp;nbsp;&amp;nbsp;&amp;nbsp;ReportItems!Textebox32.Value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you should be able to do something like&amp;nbsp;ReportItems!Textebox32.Value&amp;nbsp; +&amp;nbsp;ReportItems!Textebox33.Value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note, you can rename textboxes. If I am going to reference a text box in another expression I will usually rename it to something like txtTotalSales and txtTotalTax - it makes it much easier to understand what you were doing if you have to come back later and alter the report when you read:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; ReportItems!txtTotalSales.Value&amp;nbsp; +&amp;nbsp;ReportItems!txtTotalTax.Value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;instead of something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; ReportItems!Textebox32.Value&amp;nbsp; +&amp;nbsp;ReportItems!Textebox33.Value&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 05:58:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Report-builder-total-of-several-SUM-from-several-datasets/m-p/1561735#M17236</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2020-12-21T05:58:51Z</dc:date>
    </item>
  </channel>
</rss>

