<?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: The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-expression-refers-to-multiple-columns-Multiple-columns/m-p/4355332#M172918</link>
    <description>&lt;P&gt;First to check is this a measure or New table.&lt;/P&gt;&lt;P&gt;If measure you can't return FILTER as that is a table, use New table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If _Anio holds 3 students you can't use SelectedValue instead use Values() as that can return a column of values.&lt;/P&gt;&lt;P&gt;With values you need CalculateTable instead of Calculate and IN instead of =.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table =&lt;/P&gt;&lt;P&gt;var _anio = CalculateTable( Values('table'[anio_ingresso), Keepfilter(table))&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;Filter(&lt;BR /&gt;all(Table)&lt;/P&gt;&lt;P&gt;,table[column] IN _Anio&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 13:48:50 GMT</pubDate>
    <dc:creator>SamWiseOwl</dc:creator>
    <dc:date>2025-01-08T13:48:50Z</dc:date>
    <item>
      <title>The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-expression-refers-to-multiple-columns-Multiple-columns/m-p/4355316#M172917</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Mi intención es poder filtrar los años de ingreso de 5 alumnos, donde yo selecciono 2021 con el fin de que se queden los alumnos que tengan ese mismo año osea 3 alumnos y los demás sean filtrados.&lt;BR /&gt;He batallado muchos días con este problema, agradecería mucho saber en qué fallo!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 13:37:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-expression-refers-to-multiple-columns-Multiple-columns/m-p/4355316#M172917</guid>
      <dc:creator>Ignacioo</dc:creator>
      <dc:date>2025-01-08T13:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-expression-refers-to-multiple-columns-Multiple-columns/m-p/4355332#M172918</link>
      <description>&lt;P&gt;First to check is this a measure or New table.&lt;/P&gt;&lt;P&gt;If measure you can't return FILTER as that is a table, use New table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If _Anio holds 3 students you can't use SelectedValue instead use Values() as that can return a column of values.&lt;/P&gt;&lt;P&gt;With values you need CalculateTable instead of Calculate and IN instead of =.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table =&lt;/P&gt;&lt;P&gt;var _anio = CalculateTable( Values('table'[anio_ingresso), Keepfilter(table))&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;Filter(&lt;BR /&gt;all(Table)&lt;/P&gt;&lt;P&gt;,table[column] IN _Anio&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 13:48:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-expression-refers-to-multiple-columns-Multiple-columns/m-p/4355332#M172918</guid>
      <dc:creator>SamWiseOwl</dc:creator>
      <dc:date>2025-01-08T13:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-expression-refers-to-multiple-columns-Multiple-columns/m-p/4356080#M172945</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="909845" data-lia-user-login="Ignacioo" class="lia-mention lia-mention-user"&gt;Ignacioo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you could provide some simulated data and the expected output, that would be very helpful.&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-BI-Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_self"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-BI-Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_self"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;BR /&gt;Gao&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#008080"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener nofollow noreferrer"&gt;How to get your questions answered quickly&lt;/A&gt;&amp;nbsp;--&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener nofollow noreferrer"&gt;&amp;nbsp;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 02:07:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-expression-refers-to-multiple-columns-Multiple-columns/m-p/4356080#M172945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-09T02:07:06Z</dc:date>
    </item>
  </channel>
</rss>

