<?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: Filter Context not propagating with IF function used in a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478613#M67775</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/317289"&gt;@tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a screenshot of the data model and the desired result. The measure I am trying to create is currently stored in a Measure Table to keep things organized in the fields pane (screenshot provided) but the expression [Volume] in my formula above is calculated from the "Activity Metrics Detail" table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Data Model" style="width: 492px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705395iAB017FFCC9EE369B/image-dimensions/492x448?v=v2" width="492" height="448" role="button" title="Data Model.JPG" alt="Data Model" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Data Model&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired Result" style="width: 512px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705397i32753F9EE882E0A3/image-dimensions/512x137?v=v2" width="512" height="137" role="button" title="Desired Result.JPG" alt="Desired Result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Desired Result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Measure Table" style="width: 264px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705396i25AC44CC2F7F40CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Measure Table.JPG" alt="Measure Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Measure Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 18:57:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-26T18:57:11Z</dc:date>
    <item>
      <title>Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478508#M67769</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having an issue with a basic IF logic used in a measure. My IF statement is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Volume Check = 
IF(
    [Volume] &amp;gt; 10000,
    "Flag",
    "Ok"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure works and my table visual does what I want:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Project Name&lt;/TD&gt;&lt;TD&gt;Launch Date&lt;/TD&gt;&lt;TD&gt;Project Number&lt;/TD&gt;&lt;TD&gt;Volume Check&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;10/15/2020&lt;/TD&gt;&lt;TD&gt;12345&lt;/TD&gt;&lt;TD&gt;Ok&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;1/5/2025&lt;/TD&gt;&lt;TD&gt;24690&lt;/TD&gt;&lt;TD&gt;Ok&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;4/7/2024&lt;/TD&gt;&lt;TD&gt;49380&lt;/TD&gt;&lt;TD&gt;Flag&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;4/1/2024&lt;/TD&gt;&lt;TD&gt;98760&lt;/TD&gt;&lt;TD&gt;Ok&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;4/10/2023&lt;/TD&gt;&lt;TD&gt;19752&lt;/TD&gt;&lt;TD&gt;Ok&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;TD&gt;4/8/2024&lt;/TD&gt;&lt;TD&gt;39504&lt;/TD&gt;&lt;TD&gt;Ok&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;G&lt;/TD&gt;&lt;TD&gt;4/3/2023&lt;/TD&gt;&lt;TD&gt;79008&lt;/TD&gt;&lt;TD&gt;Flag&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue occurs when I drag a field into the table visual from one of my other lookup tables. Example: if I drag in the "Business Name" field from the Business table it repeats everything like you would see if a relationship did not exist between lookup and source tables. The table looks as follows:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Business&lt;/TD&gt;&lt;TD&gt;Project Name&lt;/TD&gt;&lt;TD&gt;Launch Date&lt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LE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is not my data model. I believe I need to force the filter context with my IF measure. Does anyone know what I am doing wrong here and how I can fix this issue? Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 17:56:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478508#M67769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-26T17:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478551#M67771</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When adding columns from different tables the engine creates a cross join table generating all possible unique combinations. Allways add columns as measures perhaps using SELECTEDVALUE&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 18:22:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478551#M67771</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-26T18:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478556#M67772</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/317289"&gt;@tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response! What would the DAX look like for this combined with my measure above?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 18:27:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478556#M67772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-26T18:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478570#M67774</link>
      <description>&lt;P&gt;It depends on your data model. Can you please share a screenshot of you data model and the expected results table indicating the the table to which each column belongs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 18:35:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478570#M67774</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-26T18:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478613#M67775</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/317289"&gt;@tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a screenshot of the data model and the desired result. The measure I am trying to create is currently stored in a Measure Table to keep things organized in the fields pane (screenshot provided) but the expression [Volume] in my formula above is calculated from the "Activity Metrics Detail" table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Data Model" style="width: 492px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705395iAB017FFCC9EE369B/image-dimensions/492x448?v=v2" width="492" height="448" role="button" title="Data Model.JPG" alt="Data Model" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Data Model&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired Result" style="width: 512px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705397i32753F9EE882E0A3/image-dimensions/512x137?v=v2" width="512" height="137" role="button" title="Desired Result.JPG" alt="Desired Result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Desired Result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Measure Table" style="width: 264px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705396i25AC44CC2F7F40CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Measure Table.JPG" alt="Measure Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Measure Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 18:57:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478613#M67775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-26T18:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478636#M67777</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Business table has no relationship with projects. Adding the business number column has no meaning based your data model. If you remove it then the lookup 'Projects' table can safely filter the fact table otherwise a meaningless crossjoin table will be creared. Do you have any coulmns that can porovide a direct connections between the two tables?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 19:19:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478636#M67777</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-26T19:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478660#M67778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/317289"&gt;@tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure I understand what you mean. Each business is involved with many projects. The project, and therefore the business, will create facts based on events that take place over time. The reason I have created lookup tables for projects and business is to optimize the data model using the start schema method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Project Number is found in both the Project table (dimension table) table and the Activity Metrics Detail table (fact table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finance MBU is found in both the Business table (dimension table) table and the Activity Metrics Detail table (fact table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you clarify what you mean?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 19:40:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2478660#M67778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-26T19:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480109#M67838</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes you are 100% correct. But you also have to account for the changes in the filter context every time you add a column to the visual. Here are some screen shots of a similar data model&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 714px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705734i4B3E657D447FD181/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 610px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705733i50B14BC67B449BBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 761px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/705736i50F1EF62E1ADF382/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 10:14:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480109#M67838</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-27T10:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480723#M67884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/317289"&gt;@tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great explanation and I appreciate the diagram. We're on the same page that fact tables cannot filter dimensions and, dimensions can filter fact tables. There's no confusion around that. The way my measure is built is the issue because when I add Project ID, Business ID, and Date ID in a table and then add a slicer to slice by, let's say, Business Name, it filters perfectly. The issue occurs when I add fields from different dimensions in addition to my Volume Check measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I always structure my data models and my measures work fine. I have never used an IF logic before which is why I think it's missing something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I fix the measure to work correctly?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:23:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480723#M67884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-27T14:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480949#M67893</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think IF has anything to do with that. Place the measure [Volume] in the table and see what values you get.&amp;nbsp;&lt;BR /&gt;again by placing a filter from another dim table you have changed the filter context. The values of the comparison measure will be diffrent (less)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 15:50:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480949#M67893</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-27T15:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480972#M67894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/317289"&gt;@tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works as expected. I created a table to test by placing Project Number, Business Unit, and Launch Year (all fields from my dimensions) along with my Volume measure and filter context works as it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For reference, below is the calculation for Volume. One thing to note is that I like to branch my measures, so the "MASTER TOTAL" measure is simply a SUM of the values column in my fact table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Volume =&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [MASTER TOTAL],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 'Activity Metrics Detail'[Line Item] = "Volume"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 15:55:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2480972#M67894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-27T15:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Context not propagating with IF function used in a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2481158#M67911</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can modify your measure&lt;/P&gt;&lt;PRE&gt;Volume Check =
IF ( [Volume] &amp;gt; 10000, "Flag", IF ( [Volume] &amp;gt; 0, "Ok" ) )&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Volume Check =
IF ( NOT ISBLANK ( [Volume] ), IF ( [Volume] &amp;gt; 10000, "Flag", "Ok" ) )&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Apr 2022 17:42:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-Context-not-propagating-with-IF-function-used-in-a/m-p/2481158#M67911</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-27T17:42:45Z</dc:date>
    </item>
  </channel>
</rss>

