<?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 behavior of measures written in various forms in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/behavior-of-measures-written-in-various-forms/m-p/3808598#M148908</link>
    <description>&lt;P&gt;Hello forum, today I come to ask a curiosity when I'm writing some measurements, related to time. This measurement that I will add as an example is used to calculate a field in the month prior to the one selected in the filter (2023-12-01). My question is the following, why out of these 3 options, only one of them returns value?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&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>Wed, 03 Apr 2024 19:06:50 GMT</pubDate>
    <dc:creator>vlsantos</dc:creator>
    <dc:date>2024-04-03T19:06:50Z</dc:date>
    <item>
      <title>behavior of measures written in various forms</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/behavior-of-measures-written-in-various-forms/m-p/3808598#M148908</link>
      <description>&lt;P&gt;Hello forum, today I come to ask a curiosity when I'm writing some measurements, related to time. This measurement that I will add as an example is used to calculate a field in the month prior to the one selected in the filter (2023-12-01). My question is the following, why out of these 3 options, only one of them returns value?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&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>Wed, 03 Apr 2024 19:06:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/behavior-of-measures-written-in-various-forms/m-p/3808598#M148908</guid>
      <dc:creator>vlsantos</dc:creator>
      <dc:date>2024-04-03T19:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: behavior of measures written in various forms</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/behavior-of-measures-written-in-various-forms/m-p/3808856#M148925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="626460" data-lia-user-login="vlsantos" class="lia-mention lia-mention-user"&gt;vlsantos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of 1st and 2nd filters get overwritten . In case of 3rd one only the innermost filter get into consideration.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 22:27:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/behavior-of-measures-written-in-various-forms/m-p/3808856#M148925</guid>
      <dc:creator>StrategicSavvy</dc:creator>
      <dc:date>2024-04-03T22:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: behavior of measures written in various forms</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/behavior-of-measures-written-in-various-forms/m-p/3809187#M148936</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="626460" data-lia-user-login="vlsantos" class="lia-mention lia-mention-user"&gt;vlsantos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just as&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="527287" data-lia-user-login="StrategicSavvy" class="lia-mention lia-mention-user"&gt;StrategicSavvy&lt;/a&gt;&amp;nbsp;said that, i&lt;SPAN&gt;n case of 3rd one only the innermost filter get into consideration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the Calculate function is used in nesting, the order of action is from the outermost layer to the innermost layer, if the inner filter condition is in the same column as the outer filter condition and conflicts with it, the inner filter overrides the outer filter condition;&lt;/P&gt;
&lt;P&gt;You can also use the keepfilters function to change the mechanism of Calculate's filter conditions, instead of directly overriding the original filter context, you can add new conditions based on the original context, resulting in the intersection of multiple conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This link can help you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://zhuanlan.zhihu.com/p/91761612" target="_self"&gt;CALCULATE'S NESTED USAGE&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Zhengdong Xu&lt;BR /&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 03:17:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/behavior-of-measures-written-in-various-forms/m-p/3809187#M148936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-04T03:17:11Z</dc:date>
    </item>
  </channel>
</rss>

