<?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: Custom Column in Query Editor throwing &amp;quot;We Cannot apply field access to the type Function&amp;quot; in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/969550#M11554</link>
    <description>&lt;P&gt;You need brackets&lt;/P&gt;
&lt;P&gt;Text.Lower([#"CustomerName"])&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 17:44:59 GMT</pubDate>
    <dc:creator>HotChilli</dc:creator>
    <dc:date>2020-03-11T17:44:59Z</dc:date>
    <item>
      <title>Custom Column in Query Editor throwing "We Cannot apply field access to the type Function"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/969418#M11549</link>
      <description>&lt;P&gt;In trying to add a custom column in the query editor, an error is displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Expression.Error: We cannot apply field access to the type Function.&lt;BR /&gt;Details:&lt;BR /&gt;Value=[Function]&lt;BR /&gt;Key=Repairing Dealer - Country Description"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice to get a suggestion solution, and if possible a short explanation why the error happens. Have read another thread and creating a variable seemed to resolve the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My formula is looking for two specific customer names, and replaces them with other names, and for all other rows, the column value is to be adjusted into all-lower case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if[#"CustomerName"] = "Charles" then "Charles Germany"&lt;BR /&gt;else if[#"CustomerName"] = "Nick" then "Nick UK"&lt;BR /&gt;else&lt;BR /&gt;Text.Lower[#"CustomerName"]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P class="ics-element-donot-delete 1001_CC@"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:14:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/969418#M11549</guid>
      <dc:creator>1up</dc:creator>
      <dc:date>2020-03-11T16:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Column in Query Editor throwing "We Cannot apply field access to the type Function"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/969550#M11554</link>
      <description>&lt;P&gt;You need brackets&lt;/P&gt;
&lt;P&gt;Text.Lower([#"CustomerName"])&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 17:44:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/969550#M11554</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2020-03-11T17:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Column in Query Editor throwing "We Cannot apply field access to the type Function"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/970361#M11581</link>
      <description>&lt;P&gt;So it was that simple after all, thanks a lot, all of a sudden this day seems much better. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one knows why paranthesis are needed for the text.lower-statement, while it is not needed for the if-statement?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 07:39:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/970361#M11581</guid>
      <dc:creator>1up</dc:creator>
      <dc:date>2020-03-12T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Column in Query Editor throwing "We Cannot apply field access to the type Function"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/3528456#M135584</link>
      <description>&lt;P&gt;I had the same error message when I forgot an "&amp;amp;" between two text fields I was appending.&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g., [Company] &amp;amp; " (" [Address]&lt;/P&gt;&lt;P&gt;Which needs to be [Company] &amp;amp; " " &lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt; [Address]&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 19:42:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Column-in-Query-Editor-throwing-quot-We-Cannot-apply/m-p/3528456#M135584</guid>
      <dc:creator>JGrant8708</dc:creator>
      <dc:date>2023-11-10T19:42:43Z</dc:date>
    </item>
  </channel>
</rss>

