<?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: Summarize stop working with Many to Many relationship in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3009463#M101989</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102761" data-lia-user-login="joepath" class="lia-mention lia-mention-user"&gt;joepath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hmm &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please share a screenshot of your data model with relationships and advise which columns that are being summed.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 16:39:11 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-01-09T16:39:11Z</dc:date>
    <item>
      <title>Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007310#M101815</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the below measure which was working fine with 1:M relationship, but due to some requirement we need to convert the relationship to M:M.&lt;/P&gt;&lt;P&gt;now the measure stop working because its using SUMMARIZE function, and SUMMARIZECOLUMS is not working because I need to use it in tabular report.&lt;/P&gt;&lt;P&gt;How to convert this meausure so it can work with M:M relationship giving the same result in optimize way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test = SUMX(&lt;BR /&gt;FILTER(&lt;BR /&gt;ADDCOLUMNS(&lt;BR /&gt;SUMMARIZE(Fact,user[full_name],city[name]),&lt;BR /&gt;"@M1",[M1]&lt;/P&gt;&lt;P&gt;),&lt;BR /&gt;[@M1]&amp;gt;=1&lt;BR /&gt;)&lt;BR /&gt;,[@M1]&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 08:27:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007310#M101815</guid>
      <dc:creator>joepath</dc:creator>
      <dc:date>2023-01-08T08:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007495#M101834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102761" data-lia-user-login="joepath" class="lia-mention lia-mention-user"&gt;joepath&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Test =
SUMX (
    FILTER (
        ADDCOLUMNS (
            CROSSJOIN ( VALUES ( user[full_name] ), VALUES ( city[name] ) ),
            "@M1", [M1]
        ),
        [@M1] &amp;gt;= 1
    ),
    [@M1]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 08 Jan 2023 15:12:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007495#M101834</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-08T15:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007592#M101851</link>
      <description>&lt;P&gt;Thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;for looking into this, seems working but performance is very slow can we do somthing about it?&lt;/P&gt;&lt;P&gt;And I have 3 col so should do like Crossjoin(values(Full_Name),values(city[name]), Country[code]) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 18:44:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007592#M101851</guid>
      <dc:creator>joepath</dc:creator>
      <dc:date>2023-01-08T18:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007618#M101854</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102761" data-lia-user-login="joepath" class="lia-mention lia-mention-user"&gt;joepath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;Test =&lt;BR /&gt;SUMX (&lt;BR /&gt;CROSSJOIN ( VALUES ( user[full_name] ), VALUES ( city[name] ) ),&lt;BR /&gt;VAR M1 = [M1] RETURN IF ( M1 &amp;gt;= 1, M1 )&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this will save the FILTER iteration but the price is paid by the IF condition. However, most probably it will be faster.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 19:31:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007618#M101854</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-08T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007623#M101857</link>
      <description>&lt;P&gt;And third column will be added like this,&amp;nbsp;&lt;SPAN&gt;Crossjoin(values(Full_Name),values(city[name]), Country[code])?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 19:49:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007623#M101857</guid>
      <dc:creator>joepath</dc:creator>
      <dc:date>2023-01-08T19:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007625#M101858</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102761" data-lia-user-login="joepath" class="lia-mention lia-mention-user"&gt;joepath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;Test =&lt;BR /&gt;SUMX (&lt;BR /&gt;CROSSJOIN (&lt;BR /&gt;CROSSJOIN ( VALUES ( user[full_name] ), VALUES ( city[name] ) ),&lt;BR /&gt;VALUES ( country[country code] )&lt;BR /&gt;),&lt;BR /&gt;VAR M1 = [M1] RETURN IF ( M1 &amp;gt;= 1, M1 )&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;but this will make it even slower&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 19:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3007625#M101858</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-08T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008686#M101944</link>
      <description>&lt;P&gt;Tried this one, still taking lot of time to execute.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 10:28:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008686#M101944</guid>
      <dc:creator>joepath</dc:creator>
      <dc:date>2023-01-09T10:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008816#M101950</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102761" data-lia-user-login="joepath" class="lia-mention lia-mention-user"&gt;joepath&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;What is the DAX for [M1] measure?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 11:45:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008816#M101950</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-09T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008834#M101953</link>
      <description>&lt;P&gt;Its a multiplication of two measure from the Fact table.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 11:54:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008834#M101953</guid>
      <dc:creator>joepath</dc:creator>
      <dc:date>2023-01-09T11:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008899#M101958</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102761" data-lia-user-login="joepath" class="lia-mention lia-mention-user"&gt;joepath&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;And what is the dax fro the two measures?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:31:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3008899#M101958</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-09T12:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3009261#M101976</link>
      <description>&lt;P&gt;its simple sum.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 15:12:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3009261#M101976</guid>
      <dc:creator>joepath</dc:creator>
      <dc:date>2023-01-09T15:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize stop working with Many to Many relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3009463#M101989</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="102761" data-lia-user-login="joepath" class="lia-mention lia-mention-user"&gt;joepath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hmm &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please share a screenshot of your data model with relationships and advise which columns that are being summed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 16:39:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-stop-working-with-Many-to-Many-relationship/m-p/3009463#M101989</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-09T16:39:11Z</dc:date>
    </item>
  </channel>
</rss>

