<?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: Remove Date Filter Context within Measure , and lookup value from measure result? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Date-Filter-Context-within-Measure-and-lookup-value-from/m-p/3086020#M107876</link>
    <description>&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Feb 2023 10:11:23 GMT</pubDate>
    <dc:creator>watje255_ju</dc:creator>
    <dc:date>2023-02-18T10:11:23Z</dc:date>
    <item>
      <title>Remove Date Filter Context within Measure , and lookup value from measure result?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Date-Filter-Context-within-Measure-and-lookup-value-from/m-p/3086004#M107874</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each batch / test (from Test_Attributes Fact Table) I would like to also show the cost /kg ( from Procurement table). The batch numbers between the two tables are the same.&lt;/P&gt;&lt;P&gt;However, the latest test results are sometimes months after the product was purchased, therefore as the date relationships are based on the quite recent test date ( Test Attributes Fact Table) and the historic procurement (Procurement table) the slicer filters out the cost.&lt;/P&gt;&lt;P&gt;For example, the cost/kg shows up for batch 769-744-21 with no slicer, but disappers when changing the slicer after the procurement date, but includes the last test day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use ALL to take the filter context off the date, but its still not returning a cost, any reason why/how to pull the cost through regardless of the date slicer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, is it possible to pull through cost/kg based off the voucher number? Some batches have the same voucher number, but no cost associated with the batch, I would like to pull through the cost/kg for that voucher and apply it against all batches with the same voucher number, is this possible? E.g in this example, all batches have voucher number PIV001, so I want to pull through the same cost for these guys, not just the two batches?&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help with A or B! PBIX file link&amp;nbsp;&lt;A href="https://1drv.ms/u/s!As8wMr9_bgGrggH05-zMibyhqpGV?e=Dwea4F" target="_blank"&gt;Results_Test.pbix&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 18 Feb 2023 09:34:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Date-Filter-Context-within-Measure-and-lookup-value-from/m-p/3086004#M107874</guid>
      <dc:creator>watje255_ju</dc:creator>
      <dc:date>2023-02-18T09:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Date Filter Context within Measure , and lookup value from measure result?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Date-Filter-Context-within-Measure-and-lookup-value-from/m-p/3086013#M107875</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="354807" data-lia-user-login="watje255_ju" class="lia-mention lia-mention-user"&gt;watje255_ju&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Placing a variable inside CALCULATE won't work as variables are calculated only once. Just wrap the inner CALCULATE with the outer CALCULATE without using the variable COST&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2023 09:55:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Date-Filter-Context-within-Measure-and-lookup-value-from/m-p/3086013#M107875</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-18T09:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Date Filter Context within Measure , and lookup value from measure result?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Date-Filter-Context-within-Measure-and-lookup-value-from/m-p/3086020#M107876</link>
      <description>&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2023 10:11:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Date-Filter-Context-within-Measure-and-lookup-value-from/m-p/3086020#M107876</guid>
      <dc:creator>watje255_ju</dc:creator>
      <dc:date>2023-02-18T10:11:23Z</dc:date>
    </item>
  </channel>
</rss>

