<?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: Total are correct of measures in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3757278#M50338</link>
    <description>&lt;P&gt;I can't , its size is too large , I have also filtered top 20 with a column reference but some place above DAX is working fine&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 07:51:52 GMT</pubDate>
    <dc:creator>ARVINDlsllp</dc:creator>
    <dc:date>2024-03-12T07:51:52Z</dc:date>
    <item>
      <title>Total are correct of measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3743028#M50060</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Can you please help with my measure i.e.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISFILTERED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Append1&lt;/SPAN&gt;&lt;SPAN&gt;[REGIME]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Append1&lt;/SPAN&gt;&lt;SPAN&gt;[REF]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/S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;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Append1&lt;/SPAN&gt;&lt;SPAN&gt;[REGIME]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Append1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Append1&lt;/SPAN&gt;&lt;SPAN&gt;[Flag]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"B"&lt;/SPAN&gt;&lt;SPAN&gt;))+&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Append1&lt;/SPAN&gt;&lt;SPAN&gt;[REF]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;Append1&lt;/SPAN&gt;&lt;SPAN&gt;[Flag]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"C"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;totals are not correct but while export in excel of the visual values total different from powerbi visual total.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="345705" data-lia-user-login="powerbicomm" class="lia-mention lia-mention-user"&gt;powerbicomm&lt;/a&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Mar 2024 12:43:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3743028#M50060</guid>
      <dc:creator>ARVINDlsllp</dc:creator>
      <dc:date>2024-03-05T12:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Total are correct of measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3744503#M50084</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="684376" data-lia-user-login="ARVINDlsllp" class="lia-mention lia-mention-user"&gt;ARVINDlsllp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It sounds like a common measure total level calculation issue that appears when your formula needs to calculate with multiple level aggregations, you can try to use following measure formula if it helps:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;formula =
SUMX (
    SUMMARIZE (
        ALLSELECTED ( Append1 ),
        [REGIME],
        "DC_REF",
            IF (
                ISFILTERED ( Append1[REGIME] ),
                CALCULATE (
                    DISTINCTCOUNT ( Append1[REF] ),
                    FILTER ( Append1, Append1[Flag] = "B" )
                )
                    + CALCULATE (
                        DISTINCTCOUNT ( Append1[REF] ),
                        FILTER ( Append1, Append1[Flag] = "C" )
                    ),
                CALCULATE (
                    DISTINCTCOUNT ( Append1[REF] ),
                    SEARCH ( "C*", Append1[REGIME], 1, 0 ),
                    FILTER ( Append1, Append1[Flag] = "B" )
                )
                    + CALCULATE ( DISTINCTCOUNT ( Append1[REF] ), Append1[Flag] = "C" )
            )
    ),
    [DC_REF]
)&lt;/LI-CODE&gt;
&lt;P&gt;In addition, you can also take a look at Greg’s blog to know more about this issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_self"&gt;Measure Totals, The Final Word&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 01:37:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3744503#M50084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-06T01:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Total are correct of measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3747827#M50169</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me tell you the total of is not correct, i have exported data into excell the total is different in power bi matrix visual. how c=i can fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 05:49:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3747827#M50169</guid>
      <dc:creator>ARVINDlsllp</dc:creator>
      <dc:date>2024-03-07T05:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Total are correct of measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3755259#M50311</link>
      <description>&lt;P&gt;No, Its nots working&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 12:53:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3755259#M50311</guid>
      <dc:creator>ARVINDlsllp</dc:creator>
      <dc:date>2024-03-11T12:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total are correct of measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3757251#M50336</link>
      <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="684376" data-lia-user-login="ARVINDlsllp" class="lia-mention lia-mention-user"&gt;ARVINDlsllp&lt;/a&gt;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:37:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3757251#M50336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-12T07:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total are correct of measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3757278#M50338</link>
      <description>&lt;P&gt;I can't , its size is too large , I have also filtered top 20 with a column reference but some place above DAX is working fine&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-are-correct-of-measures/m-p/3757278#M50338</guid>
      <dc:creator>ARVINDlsllp</dc:creator>
      <dc:date>2024-03-12T07:51:52Z</dc:date>
    </item>
  </channel>
</rss>

