<?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: Excel to DAX: converting SUMIFS structured references ([column1],[@[column1]) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173567#M50520</link>
    <description>&lt;P&gt;Sure, here is a simplifed illustration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Excel Expression&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Calculated Values =SUMIFS([Course Enrollment],[Department],[@Department],[Year Term],[@[Year Term]])&lt;/P&gt;&lt;P&gt;The expression calculates the enrollment sum across courses for a given department in a given year.&amp;nbsp; I am trying to accomplish the same with DAX in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;: Department A in Fall 2021 saw a total enrollment of 550 students (200+300+50), whereas Department E in Spring 2020 saw a total enrollment of 151 (74+77).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 22:25:45 GMT</pubDate>
    <dc:creator>Unimatrix8472</dc:creator>
    <dc:date>2021-11-04T22:25:45Z</dc:date>
    <item>
      <title>Excel to DAX: converting SUMIFS structured references ([column1],[@[column1])</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173370#M50515</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to transition an excel workboook with several types of calculations to Power BI.&amp;nbsp; In particular, I am struggling with how to replicate a conditional SUMIFS calculation that uses structured references.&amp;nbsp; The excel expression is: =SUMIFS([Column1],[Column2],[@Column2],[Column3],[@[Column3]])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In DAX, how can I sum the values of column 1 given specific row values in columns 2 and 3?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realize that the DAX framework is based on table/column/row refernece and not cell references (like excel), but I'm not making the intellectual leap here.&amp;nbsp; Any help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 22:28:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173370#M50515</guid>
      <dc:creator>Unimatrix8472</dc:creator>
      <dc:date>2021-11-04T22:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to DAX: converting SUMIFS structured references ([column1],[@[column1])</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173480#M50519</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336968" data-lia-user-login="Unimatrix8472" class="lia-mention lia-mention-user"&gt;Unimatrix8472&lt;/a&gt;&amp;nbsp; can you provide sample data and expected output?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 20:50:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173480#M50519</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2021-11-04T20:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to DAX: converting SUMIFS structured references ([column1],[@[column1])</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173567#M50520</link>
      <description>&lt;P&gt;Sure, here is a simplifed illustration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Excel Expression&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Calculated Values =SUMIFS([Course Enrollment],[Department],[@Department],[Year Term],[@[Year Term]])&lt;/P&gt;&lt;P&gt;The expression calculates the enrollment sum across courses for a given department in a given year.&amp;nbsp; I am trying to accomplish the same with DAX in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;: Department A in Fall 2021 saw a total enrollment of 550 students (200+300+50), whereas Department E in Spring 2020 saw a total enrollment of 151 (74+77).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 22:25:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173567#M50520</guid>
      <dc:creator>Unimatrix8472</dc:creator>
      <dc:date>2021-11-04T22:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to DAX: converting SUMIFS structured references ([column1],[@[column1])</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173574#M50522</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336968" data-lia-user-login="Unimatrix8472" class="lia-mention lia-mention-user"&gt;Unimatrix8472&lt;/a&gt;&amp;nbsp; try this measure&lt;/P&gt;
&lt;P&gt;sumifEquivalent=calculate(sum(tbl[courseEnrollment]), allexcept(tbl,tbl[Department]),tbl[YearTerm]))&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 22:30:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173574#M50522</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2021-11-04T22:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to DAX: converting SUMIFS structured references ([column1],[@[column1])</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173587#M50523</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Here's the implementation of your suggestion with my actual DAX&lt;/STRONG&gt;:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dept Enrl Per AY = &lt;/SPAN&gt;&lt;SPAN&gt;calculate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Raw Course Success Data - AY'&lt;STRONG&gt;[Course Enrollment]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;allexcept&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Raw Course Success Data - AY'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Raw Course Success Data - AY'&lt;STRONG&gt;[Department]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Raw Course Success Data - AY'&lt;STRONG&gt;[Year Term]&lt;/STRONG&gt;&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;&lt;STRONG&gt;The following error occured&lt;/STRONG&gt;: Cannot covert 'Summer 2016' of type Text to type True/False. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Summer 2016 is a [Year Term] value, like Fall 2021 or Spring 2020 in the example I provided in my previous reply.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Suggestions?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Nov 2021 22:46:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173587#M50523</guid>
      <dc:creator>Unimatrix8472</dc:creator>
      <dc:date>2021-11-04T22:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to DAX: converting SUMIFS structured references ([column1],[@[column1])</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173590#M50524</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="336968" data-lia-user-login="Unimatrix8472" class="lia-mention lia-mention-user"&gt;Unimatrix8472&lt;/a&gt;&amp;nbsp; you misplaced a parenthesus&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;allexcept&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Raw Course Success Data - AY'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Raw Course Success Data - AY'&lt;STRONG&gt;[Department],&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;'Raw Course Success Data - AY'&lt;STRONG&gt;[Year Term]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 22:47:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173590#M50524</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2021-11-04T22:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to DAX: converting SUMIFS structured references ([column1],[@[column1])</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173603#M50525</link>
      <description>&lt;P&gt;Oops.&amp;nbsp; Yes, this appears to have worked. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 22:57:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Excel-to-DAX-converting-SUMIFS-structured-references-column1/m-p/2173603#M50525</guid>
      <dc:creator>Unimatrix8472</dc:creator>
      <dc:date>2021-11-04T22:57:19Z</dc:date>
    </item>
  </channel>
</rss>

