<?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: DAX Function not recognising measure as ColumnTable in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Function-not-recognising-measure-as-ColumnTable/m-p/3225012#M118079</link>
    <description>&lt;P&gt;Thank You!&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 13:25:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-08T13:25:47Z</dc:date>
    <item>
      <title>DAX Function not recognising measure as ColumnTable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Function-not-recognising-measure-as-ColumnTable/m-p/3224780#M118053</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new in DAX. I'm trying to create a measure to show in a card, volume sales for the previous month (current month is still live so its not a full month). I have found the below example function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Previous Month = &lt;/SPAN&gt;&lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(InternetSales_USD[SalesAmount_USD]), &lt;/SPAN&gt;&lt;SPAN class=""&gt;PREVIOUSMONTH&lt;/SPAN&gt;&lt;SPAN&gt;('DateTime'[DateKey]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the measure I'm trying to use in the function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Below is my attempt in recreating the formula. As you can see the measure is greyed out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connected to live data. The measure I want to use seems to be a background calculation, I did not create it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An ideas how I can fix this?&lt;/P&gt;&lt;P&gt;Thanks!:)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 10:58:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Function-not-recognising-measure-as-ColumnTable/m-p/3224780#M118053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-08T10:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Function not recognising measure as ColumnTable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Function-not-recognising-measure-as-ColumnTable/m-p/3224813#M118060</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUM functions accepts only column as its argument and does not accept a measure. To recalculate a mesure no need to use SUM just use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Previous Month =
CALCULATE (
    [Physical Cases Direct Actual],
    PREVIOUSMONTH ( 'DateTime'[DateKey] )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 11:30:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Function-not-recognising-measure-as-ColumnTable/m-p/3224813#M118060</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-08T11:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Function not recognising measure as ColumnTable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Function-not-recognising-measure-as-ColumnTable/m-p/3225012#M118079</link>
      <description>&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 13:25:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Function-not-recognising-measure-as-ColumnTable/m-p/3225012#M118079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-08T13:25:47Z</dc:date>
    </item>
  </channel>
</rss>

