<?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: Single entry from multiple same entry in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Single-entry-from-multiple-same-entry/m-p/2416428#M35143</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can try to use the following measure formula if it was suitable for your requirement:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;formula =
VAR currAssignment =
    VALUES ( Table[Assignment] )
VAR summary =
    SUMMARIZE (
        FILTER (
            ALLSELECTED ( Table ),
            [DC]
                IN { "H", "S" }
                &amp;amp;&amp;amp; [Assignment] IN currAssignment
        ),
        [Assignment],
        "c_DC", COUNT ( Table[DC] ),
        "s_Test2", SUM ( Table[Test2] )
    )
RETURN
    SUMX ( FILTER ( summary, [c_DC] = 2 ), [s_Test2] )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 00:59:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-25T00:59:07Z</dc:date>
    <item>
      <title>Single entry from multiple same entry</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Single-entry-from-multiple-same-entry/m-p/2408867#M35098</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;as per below attachment i need only those line items "Sum value (testing2)" where "dc" filed have "H&amp;amp;S"(both) except this if we have only "H" then its value shoud be "0"...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MR007_0-1647939073461.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/687889i81BE8237AE0FE801/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MR007_0-1647939073461.png" alt="MR007_0-1647939073461.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 08:55:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Single-entry-from-multiple-same-entry/m-p/2408867#M35098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-22T08:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Single entry from multiple same entry</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Single-entry-from-multiple-same-entry/m-p/2416428#M35143</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;You can try to use the following measure formula if it was suitable for your requirement:&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;formula =
VAR currAssignment =
    VALUES ( Table[Assignment] )
VAR summary =
    SUMMARIZE (
        FILTER (
            ALLSELECTED ( Table ),
            [DC]
                IN { "H", "S" }
                &amp;amp;&amp;amp; [Assignment] IN currAssignment
        ),
        [Assignment],
        "c_DC", COUNT ( Table[DC] ),
        "s_Test2", SUM ( Table[Test2] )
    )
RETURN
    SUMX ( FILTER ( summary, [c_DC] = 2 ), [s_Test2] )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 00:59:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Single-entry-from-multiple-same-entry/m-p/2416428#M35143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-25T00:59:07Z</dc:date>
    </item>
  </channel>
</rss>

