<?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: exemple sum in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1512768#M16870</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177312" data-lia-user-login="LeaRupnik" class="lia-mention lia-mention-user"&gt;LeaRupnik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please share some sample data? We will understand your requirement more clearly. Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 06:59:15 GMT</pubDate>
    <dc:creator>v-xuding-msft</dc:creator>
    <dc:date>2020-11-24T06:59:15Z</dc:date>
    <item>
      <title>exemple sum</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1506396#M16819</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a problem, with sum and thant vhat a have too give in a table in powerBI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a formula in SSAA:&lt;/P&gt;&lt;P&gt;PLAN NAB PREMIJA VRED:=CALCULATE([SumPlan_nab_premija]*[SumPlan_kol]/1000;&lt;BR /&gt;FILTER ( ALL ('cisppr cista_prodajna_premija'); 'cisppr cista_prodajna_premija'[datum_posnetka] = MAX('cisppr cista_prodajna_premija'[datum_posnetka]));&lt;BR /&gt;VALUES('cisppr cista_prodajna_premija'[Nivo 1]);&lt;BR /&gt;VALUES('cisppr cista_prodajna_premija'[Nivo 2]);&lt;BR /&gt;VALUES('cisppr cista_prodajna_premija'[Nivo 3]);&lt;BR /&gt;VALUES('cisppr cista_prodajna_premija'[Nivo 4]);&lt;BR /&gt;VALUES('cisppr cista_prodajna_premija'[mesec]);&lt;BR /&gt;VALUES('cisppr cista_prodajna_premija'[leto])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;than table in PowerBI:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;the nivo 4 is ok, nivo 3, nivo 2 and nivo 1 a would like that is sum nivo 3 sum (nivo4) and so one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;LEa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 05:49:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1506396#M16819</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2020-11-20T05:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: exemple sum</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1512768#M16870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177312" data-lia-user-login="LeaRupnik" class="lia-mention lia-mention-user"&gt;LeaRupnik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please share some sample data? We will understand your requirement more clearly. Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 06:59:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1512768#M16870</guid>
      <dc:creator>v-xuding-msft</dc:creator>
      <dc:date>2020-11-24T06:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: exemple sum</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1518889#M16918</link>
      <description>&lt;P&gt;I have a very big data model (data are secure). My question is how to use different formula (measure- DAX) in the same column for different levels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;Lea&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 12:54:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1518889#M16918</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2020-11-26T12:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: exemple sum</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1583483#M17379</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="141007" data-lia-user-login="v-xuding-msft" class="lia-mention lia-mention-user"&gt;v-xuding-msft&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1Jy0l-WGouAHszo3eCFNzERGOwIM9_p37/view" target="_blank"&gt;https://drive.google.com/file/d/1Jy0l-WGouAHszo3eCFNzERGOwIM9_p37/view&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is example, please help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;Lea&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 05:30:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1583483#M17379</guid>
      <dc:creator>LeaRupnik</dc:creator>
      <dc:date>2021-01-06T05:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: exemple sum</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1590566#M17444</link>
      <description>&lt;P&gt;This sounds like an order of operations issue. Currently the code is summing the two measures, then doing the multiplication and division and it sounds like you want it to do the multiplication and division first then sum up the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could achieve this by doing a SUMX over the values in&amp;nbsp;[Sistem naziv enote] (assuming that is the lowest level that you want the values calculated at)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;eg.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;REAL NAB PREMIJA VRED v2 = 
var maxDatum = MAX('fact (2)'[datum_posnetka])
return CALCULATE(
    SUMX( VALUES('fact (2)'[Sistem naziv enote]),
    [SumReal_nab_premija]*[REAL NAB KOL]/1000)
        , 'fact (2)'[datum_posnetka] = maxDatum )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 02:48:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/exemple-sum/m-p/1590566#M17444</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-01-12T02:48:18Z</dc:date>
    </item>
  </channel>
</rss>

