<?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 Help with measure removing a column from the context in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2343608#M59219</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with numerous fields and I want to show a table in my report with following fields only:&lt;/P&gt;&lt;P&gt;Date, Product Category, Unit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how my data (fields I am trying to show in my table) looks like:&lt;/P&gt;&lt;P&gt;Date, product category, sales unit, forecast unit&lt;/P&gt;&lt;P&gt;Jan , A, 10, 10&lt;/P&gt;&lt;P&gt;Jan, B, 15,20&lt;/P&gt;&lt;P&gt;Jan, C, 15,10&lt;/P&gt;&lt;P&gt;Feb, A, 10,20&lt;/P&gt;&lt;P&gt;Feb, B, 10,10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to derive the final table as below. Note that units in this table is the forecast unit - sales unit for a month, without considering the product category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date, Product category, Units&lt;/P&gt;&lt;P&gt;Jan , A, 0&lt;/P&gt;&lt;P&gt;Jan, B, 0&lt;/P&gt;&lt;P&gt;Jan, C, 0&lt;/P&gt;&lt;P&gt;Feb, A, 10&lt;/P&gt;&lt;P&gt;Feb, B, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using All and AllExcept, but didnt seem to work. I could be doing something wrong. Please help me with this.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 03:35:38 GMT</pubDate>
    <dc:creator>Quest</dc:creator>
    <dc:date>2022-02-17T03:35:38Z</dc:date>
    <item>
      <title>Help with measure removing a column from the context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2343608#M59219</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with numerous fields and I want to show a table in my report with following fields only:&lt;/P&gt;&lt;P&gt;Date, Product Category, Unit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how my data (fields I am trying to show in my table) looks like:&lt;/P&gt;&lt;P&gt;Date, product category, sales unit, forecast unit&lt;/P&gt;&lt;P&gt;Jan , A, 10, 10&lt;/P&gt;&lt;P&gt;Jan, B, 15,20&lt;/P&gt;&lt;P&gt;Jan, C, 15,10&lt;/P&gt;&lt;P&gt;Feb, A, 10,20&lt;/P&gt;&lt;P&gt;Feb, B, 10,10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to derive the final table as below. Note that units in this table is the forecast unit - sales unit for a month, without considering the product category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date, Product category, Units&lt;/P&gt;&lt;P&gt;Jan , A, 0&lt;/P&gt;&lt;P&gt;Jan, B, 0&lt;/P&gt;&lt;P&gt;Jan, C, 0&lt;/P&gt;&lt;P&gt;Feb, A, 10&lt;/P&gt;&lt;P&gt;Feb, B, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using All and AllExcept, but didnt seem to work. I could be doing something wrong. Please help me with this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 03:35:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2343608#M59219</guid>
      <dc:creator>Quest</dc:creator>
      <dc:date>2022-02-17T03:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure removing a column from the context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2343631#M59220</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="331724" data-lia-user-login="Quest" class="lia-mention lia-mention-user"&gt;Quest&lt;/a&gt; , Try a measure like&lt;/P&gt;
&lt;P&gt;calculate(sum(Table[forecast]) - sum(Table[Sales]), filter(allselected(Table), Table[Date] =max(Table[Date])))&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 03:48:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2343631#M59220</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-17T03:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure removing a column from the context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2344831#M59281</link>
      <description>&lt;P&gt;Thanks Amitchandak for the quick response. But this does not seem to be working for me.&lt;/P&gt;&lt;P&gt;Date, Product category, Units&lt;/P&gt;&lt;P&gt;Jan , A, 10&lt;/P&gt;&lt;P&gt;Jan, B, 10&lt;/P&gt;&lt;P&gt;Jan, C, 10&lt;/P&gt;&lt;P&gt;Feb, A, 10&lt;/P&gt;&lt;P&gt;Feb, B, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Jan, the data should show 0 as the difference for Jan is 0 and for Feb it should show 10.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 12:36:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2344831#M59281</guid>
      <dc:creator>Quest</dc:creator>
      <dc:date>2022-02-17T12:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure removing a column from the context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2344885#M59283</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="331724" data-lia-user-login="Quest" class="lia-mention lia-mention-user"&gt;Quest&lt;/a&gt; , Please find if the attached file can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:02:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2344885#M59283</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-17T13:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure removing a column from the context</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2345108#M59294</link>
      <description>&lt;P&gt;Thanks a lot. I didnt create it as a measure, my bad.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 14:31:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-removing-a-column-from-the-context/m-p/2345108#M59294</guid>
      <dc:creator>Quest</dc:creator>
      <dc:date>2022-02-17T14:31:10Z</dc:date>
    </item>
  </channel>
</rss>

