<?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 base on 2 tables, in error &amp;quot;he column 'SYSCred' specified in the 'SUMMARIZE' function was in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993668#M100784</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="492333" data-lia-user-login="SunnyWu" class="lia-mention lia-mention-user"&gt;SunnyWu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;var t_op =&lt;BR /&gt;GENERATE (&lt;BR /&gt;SUMMARIZE (&lt;BR /&gt;MergeALLSQL,&lt;BR /&gt;MergeALLSQL[name1],&lt;BR /&gt;MergeALLSQL[re_FORM_OP1],&lt;BR /&gt;MergeALLSQL[Account]&lt;BR /&gt;),&lt;BR /&gt;RELATEDTABLE ( VALUES ( JDT1op[SYSCred] ) )&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2022 16:23:39 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-12-29T16:23:39Z</dc:date>
    <item>
      <title>SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993634#M100782</link>
      <description>&lt;P&gt;hi expert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am new to power BI, and when I try to use summarize function with 2 tables with following syntax,&amp;nbsp;&lt;/P&gt;&lt;P&gt;var t_op = SUMMARIZE(&lt;BR /&gt;MergeALLSQL,&lt;BR /&gt;MergeALLSQL[name1],&lt;BR /&gt;MergeALLSQL[re_FORM_OP1],&lt;BR /&gt;MergeALLSQL[Account],&lt;BR /&gt;JDT1op[SYSCred]&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;it shows the error "the column 'SYSCred' specified in the 'SUMMARIZE' function was not found in the input table."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tables are in many with many relationships, and mapping with the account number,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sunny Wu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 15:57:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993634#M100782</guid>
      <dc:creator>SunnyWu</dc:creator>
      <dc:date>2022-12-29T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993668#M100784</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="492333" data-lia-user-login="SunnyWu" class="lia-mention lia-mention-user"&gt;SunnyWu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;var t_op =&lt;BR /&gt;GENERATE (&lt;BR /&gt;SUMMARIZE (&lt;BR /&gt;MergeALLSQL,&lt;BR /&gt;MergeALLSQL[name1],&lt;BR /&gt;MergeALLSQL[re_FORM_OP1],&lt;BR /&gt;MergeALLSQL[Account]&lt;BR /&gt;),&lt;BR /&gt;RELATEDTABLE ( VALUES ( JDT1op[SYSCred] ) )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 16:23:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993668#M100784</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-12-29T16:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993682#M100787</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;,&lt;/P&gt;&lt;P&gt;Thanks you first, but it shows an error&amp;nbsp;The RELATEDTABLE function expects a table reference for argument '1', but a table expression was used.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;sunny&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 16:31:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993682#M100787</guid>
      <dc:creator>SunnyWu</dc:creator>
      <dc:date>2022-12-29T16:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993692#M100789</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="492333" data-lia-user-login="SunnyWu" class="lia-mention lia-mention-user"&gt;SunnyWu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the following that creates a new &lt;STRONG&gt;table&lt;/STRONG&gt;:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;Table = 
var combinetable = ADDCOLUMNS('MergeALLSQL',"SYS Cred",RELATED('JDT1op'[SYSCred]))
return 
SUMMARIZE(combinetable,[SYS Cred],'MergeALLSQL'[name1],'MergeALLSQL'[re_FORM_OP1],'MergeALLSQL'[Account])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 16:40:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993692#M100789</guid>
      <dc:creator>themistoklis</dc:creator>
      <dc:date>2022-12-29T16:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993714#M100791</link>
      <description>&lt;P&gt;still not working&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or i cannot use related() in many-to-many relationships?&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-many-to-many-relationships" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-many-to-many-relationships&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 16:53:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993714#M100791</guid>
      <dc:creator>SunnyWu</dc:creator>
      <dc:date>2022-12-29T16:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993743#M100795</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="492333" data-lia-user-login="SunnyWu" class="lia-mention lia-mention-user"&gt;SunnyWu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;make sure that the fieldname is written correcty in the formula and in the relationship between the two tables select 'Both' on 'Cross Filter Direction'&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 17:17:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993743#M100795</guid>
      <dc:creator>themistoklis</dc:creator>
      <dc:date>2022-12-29T17:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993758#M100797</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="61168" data-lia-user-login="themistoklis" class="lia-mention lia-mention-user"&gt;themistoklis&lt;/a&gt;&amp;nbsp;i counter check all the field names&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;the relationship is&amp;nbsp;&lt;SPAN&gt;'Both' on 'Cross Filter Direction'&lt;/SPAN&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 17:30:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993758#M100797</guid>
      <dc:creator>SunnyWu</dc:creator>
      <dc:date>2022-12-29T17:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993766#M100798</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="492333" data-lia-user-login="SunnyWu" class="lia-mention lia-mention-user"&gt;SunnyWu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you are right. It was my mistake. Please try&lt;/P&gt;
&lt;P&gt;var t_op =&lt;BR /&gt;GENERATE (&lt;BR /&gt;SUMMARIZE (&lt;BR /&gt;MergeALLSQL,&lt;BR /&gt;MergeALLSQL[name1],&lt;BR /&gt;MergeALLSQL[re_FORM_OP1],&lt;BR /&gt;MergeALLSQL[Account]&lt;BR /&gt;),&lt;BR /&gt;SELECTCOLUMNS ( RELATEDTABLE ( JDT1op ), "@SYSCred", JDT1op[SYSCred] )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 17:37:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993766#M100798</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-12-29T17:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE base on 2 tables, in error "he column 'SYSCred' specified in the 'SUMMARIZE' function was</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993795#M100804</link>
      <description>&lt;P&gt;Thx, it is working, and it is inner join, many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 18:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-base-on-2-tables-in-error-quot-he-column-SYSCred/m-p/2993795#M100804</guid>
      <dc:creator>SunnyWu</dc:creator>
      <dc:date>2022-12-29T18:16:59Z</dc:date>
    </item>
  </channel>
</rss>

