<?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 Unmatched Row count with aggregation with Region in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2232874#M22154</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello Friends,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me, I am new to Power bi and looking for the desired output for a week now but no luck,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 5 tables in which 3 are dimtable (Dim_date,Dim_Taskid,Dim_Region) and 2 table as (Table1 and Table2) and these 2 table are connected to Dim_table with M-to 1 relationship. Table 1 and 2 has duplicate ,Date, Taskid,Region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me break down the measure i am looking for&amp;nbsp; as below.&lt;/P&gt;&lt;P&gt;when i &amp;nbsp;filter dates it should&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. First compare Table1 with Table 2 and select all the taskid which are unmatched. it should select the distinct match.&lt;/P&gt;&lt;P&gt;2. then aggregate(Sum or count) unmatched&amp;nbsp; Taskid (Which is a output from point 1)&amp;nbsp; with region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please see the output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let me explain it with example&lt;/P&gt;&lt;P&gt;1. First select all the taskid matched as per filtered date(Jan-Aug) .&lt;/P&gt;&lt;P&gt;2Then count the taskid with Region .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 14:03:04 GMT</pubDate>
    <dc:creator>Microblog321</dc:creator>
    <dc:date>2021-12-13T14:03:04Z</dc:date>
    <item>
      <title>Unmatched Row count with aggregation with Region</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2232874#M22154</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello Friends,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me, I am new to Power bi and looking for the desired output for a week now but no luck,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 5 tables in which 3 are dimtable (Dim_date,Dim_Taskid,Dim_Region) and 2 table as (Table1 and Table2) and these 2 table are connected to Dim_table with M-to 1 relationship. Table 1 and 2 has duplicate ,Date, Taskid,Region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me break down the measure i am looking for&amp;nbsp; as below.&lt;/P&gt;&lt;P&gt;when i &amp;nbsp;filter dates it should&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. First compare Table1 with Table 2 and select all the taskid which are unmatched. it should select the distinct match.&lt;/P&gt;&lt;P&gt;2. then aggregate(Sum or count) unmatched&amp;nbsp; Taskid (Which is a output from point 1)&amp;nbsp; with region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please see the output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let me explain it with example&lt;/P&gt;&lt;P&gt;1. First select all the taskid matched as per filtered date(Jan-Aug) .&lt;/P&gt;&lt;P&gt;2Then count the taskid with Region .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:03:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2232874#M22154</guid>
      <dc:creator>Microblog321</dc:creator>
      <dc:date>2021-12-13T14:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unmatched Row count with aggregation with Region</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2234287#M22157</link>
      <description>&lt;P&gt;Can someone please help me&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 18:38:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2234287#M22157</guid>
      <dc:creator>Microblog321</dc:creator>
      <dc:date>2021-12-12T18:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unmatched Row count with aggregation with Region</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2235854#M22177</link>
      <description>&lt;P&gt;can someone please help&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:54:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2235854#M22177</guid>
      <dc:creator>Microblog321</dc:creator>
      <dc:date>2021-12-13T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unmatched Row count with aggregation with Region</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2237034#M22188</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343341" data-lia-user-login="Microblog321" class="lia-mention lia-mention-user"&gt;Microblog321&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check if this could meet your requirements:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;unmatched Taskid Count =
VAR t =
    DISTINCT (
        SUMMARIZE (
            EXCEPT (
                SUMMARIZE ( 'Table 1', 'Table 1'[Taskid], 'Table 1'[Region] ),
                SUMMARIZE ( 'Table 2', 'Table 2'[Taskid], 'Table 2'[Region] )
            ),
            [Taskid]
        )
    )
RETURN
    COUNTX ( t, [Taskid] )
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;matched Taskid Count = 
VAR t =
    DISTINCT (
        SUMMARIZE (
            INTERSECT (
                SUMMARIZE ( 'Table 1', 'Table 1'[Taskid], 'Table 1'[Region] ),
                SUMMARIZE ( 'Table 2', 'Table 2'[Taskid], 'Table 2'[Region] )
            ),
            [Taskid]
        )
    )
RETURN
    COUNTX ( t, [Taskid] )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Icey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 05:32:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unmatched-Row-count-with-aggregation-with-Region/m-p/2237034#M22188</guid>
      <dc:creator>Icey</dc:creator>
      <dc:date>2021-12-14T05:32:34Z</dc:date>
    </item>
  </channel>
</rss>

