<?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: Is it possible to use a non-context measure? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-to-use-a-non-context-measure/m-p/3786451#M147896</link>
    <description>&lt;P&gt;Measures are all about context: page filters, slicers, rowcontext alltogether determine the resulting context. However, any part of context can be expanded or filtered further down using CALCULATE. If you create a measure, e.g. [averge months active] you can have that ignore all context by using CALCULATE([average months active], ALL())&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 14:48:10 GMT</pubDate>
    <dc:creator>sjoerdvn</dc:creator>
    <dc:date>2024-03-22T14:48:10Z</dc:date>
    <item>
      <title>Is it possible to use a non-context measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-to-use-a-non-context-measure/m-p/3786030#M147885</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The table below shows the number of active contracts (#) at previous month ends (Månad) for a particular customer, the original end date of the contracts ("**bleep**") and in which month the contracts actually ended - if ended (max). Based on this information I can create a measure to calculate the average number of days/months between the termination date and the original end date for the contacts that have been terminated before February 2023.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As a next step I would like to use this average to calculate the estimated termination date (Beräknat slutdatum) for the contracts that are still active in February 2023. So, if, for example, the average contract (based on the previous measure) is terminated 150 days before the original end date (ÅrMånadSlut), and the end date is October 31&lt;/SPAN&gt;st&lt;SPAN&gt;&amp;nbsp;the estimated termination month would be May 2024, if the end date is in February 2025, the estimated termination month would be September 2024 and so on. So in the example below, the estimated termination date would be five months before the value in the ÅrMånadSlut-column. But I can’t find a way to use the measure (that was calculated for the contracts terminated before February 2024) as this visual only handles the contracts that are still active in February. Is it possible to use a “non-context” measure like that or is there another way to achieve this?&lt;/SPAN&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 11:30:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-to-use-a-non-context-measure/m-p/3786030#M147885</guid>
      <dc:creator>GGuru</dc:creator>
      <dc:date>2024-03-22T11:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a non-context measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-to-use-a-non-context-measure/m-p/3786451#M147896</link>
      <description>&lt;P&gt;Measures are all about context: page filters, slicers, rowcontext alltogether determine the resulting context. However, any part of context can be expanded or filtered further down using CALCULATE. If you create a measure, e.g. [averge months active] you can have that ignore all context by using CALCULATE([average months active], ALL())&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 14:48:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-to-use-a-non-context-measure/m-p/3786451#M147896</guid>
      <dc:creator>sjoerdvn</dc:creator>
      <dc:date>2024-03-22T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a non-context measure?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-to-use-a-non-context-measure/m-p/3786643#M147901</link>
      <description>&lt;P&gt;Ah, thanks. That's great. Wasn't aware of the () for the ALL.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 16:11:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-to-use-a-non-context-measure/m-p/3786643#M147901</guid>
      <dc:creator>GurraGuru</dc:creator>
      <dc:date>2024-03-22T16:11:11Z</dc:date>
    </item>
  </channel>
</rss>

