<?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: COnditonal Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104115#M109263</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;yes this is almost exactly what I need! the formula is working great, just need to add the contional rule on top of it.&lt;/P&gt;&lt;P&gt;so, if there is there is no previous matyching equipment ID the Variable Difference formula should equal 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if there is a previous equipment ID, the formula needs to run.&amp;nbsp;&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;In this example, the equipment key = 1104, variable difference should yield a "0" because there is no other previous record of 1104.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the&amp;nbsp; second record of1105 is correct, because there is a previous record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 15:50:50 GMT</pubDate>
    <dc:creator>amandabus21</dc:creator>
    <dc:date>2023-02-28T15:50:50Z</dc:date>
    <item>
      <title>COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102058#M109106</link>
      <description>&lt;P&gt;How can I change this formula so that it only calculates if the previous Equipment Key does not equal the next Equipment Key.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It then should be 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Variable Difference = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;curr&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Mileage]&lt;/SPAN&gt;&lt;SPAN&gt;) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;prev&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MAXX&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Equipment.Equipment Level 01.Key]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;EARLIER&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Equipment.Equipment Level 01.Key]&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Completion Date.Completion Date Level 01]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN&gt;EARLIER&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;[Completion Date.Completion Date Level 01]&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;[Mileage]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;curr&lt;/SPAN&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;prev&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 Feb 2023 16:48:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102058#M109106</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-27T16:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102268#M109126</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424505" data-lia-user-login="amandabus21" class="lia-mention lia-mention-user"&gt;amandabus21&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Variable Difference =
VAR CurrentSort =
    'PM On Time Performance Bus PM-BI-002 (2)'[Equipment.Equipment Level 01.Key] * 1000000
        + INT ( 'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01] )
VAR Curr = 'PM On Time Performance Bus PM-BI-002 (2)'[Mileage]
VAR T =
    ADDCOLUMNS (
        'PM On Time Performance Bus PM-BI-002 (2)',
        "@Sort",
            'PM On Time Performance Bus PM-BI-002 (2)'[Equipment.Equipment Level 01.Key] * 1000000
                + INT ( 'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01] )
    )
VAR Prev =
    MAXX ( FILTER ( T, [@Sort] &amp;lt; CurrentSort ), [Mileage] )
RETURN
    Curr - Prev&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Feb 2023 19:07:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102268#M109126</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-27T19:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102446#M109146</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;thank you, but not quite what I was looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, for Equipment key 1104, it should just "Else=0" because there is no previous equipment key record for that equipment. In Equipment 1106 it should calculate the "current - previous" mileage because there is a previous entry.&amp;nbsp;&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;What it should look like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 15:51:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102446#M109146</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-28T15:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102858#M109171</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424505" data-lia-user-login="amandabus21" class="lia-mention lia-mention-user"&gt;amandabus21&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Perhaps I misunderstood your requirement. I'm still not sure if I fully understand &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Variable Difference =
VAR CurrentDate = 'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01]
VAR Curr = 'PM On Time Performance Bus PM-BI-002 (2)'[Mileage]
VAR CurrentEquipmentTable =
    CALCULATETABLE (
        'PM On Time Performance Bus PM-BI-002 (2)',
        ALLEXCEPT (
            'PM On Time Performance Bus PM-BI-002 (2)',
            'PM On Time Performance Bus PM-BI-002 (2)'[Equipment.Equipment Level 01.Key]
        )
    )
VAR TableBefore =
    FILTER (
        CurrentEquipmentTable,
        'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01] &amp;lt; CurrentDate
    )
VAR PreviousRecord =
    TOPN (
        1,
        TableBefore,
        'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01]
    )
VAR Prev =
    MAXX ( PreviousRecord, 'PM On Time Performance Bus PM-BI-002 (2)'[Mileage] )
RETURN
    Curr - COALESCE ( Prev, Curr )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Feb 2023 04:50:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3102858#M109171</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-28T04:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104115#M109263</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;yes this is almost exactly what I need! the formula is working great, just need to add the contional rule on top of it.&lt;/P&gt;&lt;P&gt;so, if there is there is no previous matyching equipment ID the Variable Difference formula should equal 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if there is a previous equipment ID, the formula needs to run.&amp;nbsp;&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;In this example, the equipment key = 1104, variable difference should yield a "0" because there is no other previous record of 1104.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the&amp;nbsp; second record of1105 is correct, because there is a previous record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 15:50:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104115#M109263</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-28T15:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104180#M109272</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424505" data-lia-user-login="amandabus21" class="lia-mention lia-mention-user"&gt;amandabus21&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Strange! It should return 0. Actually this is the purpose of the COALESCE. Would you please share the code that you have used?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:15:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104180#M109272</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-28T16:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104312#M109305</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;I used the one you provided above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only other thing I could maybe think of is a Date Slicer added using, "Completion Date.Completion Date Level 01"&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:57:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104312#M109305</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-28T16:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104384#M109312</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424505" data-lia-user-login="amandabus21" class="lia-mention lia-mention-user"&gt;amandabus21&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try adding a new measure&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MeasureDifference =&lt;BR /&gt;SUMX (&lt;BR /&gt;'PM On Time Performance Bus PM-BI-002 (2)',&lt;BR /&gt;IF (&lt;BR /&gt;'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01]&lt;BR /&gt;= CALCULATE (&lt;BR /&gt;MIN ( 'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01] ),&lt;BR /&gt;REMOVEFILTERS (),&lt;BR /&gt;VALUES ( 'PM On Time Performance Bus PM-BI-002 (2)'[Equipment.Equipment Level 01.Key] )&lt;BR /&gt;),&lt;BR /&gt;'PM On Time Performance Bus PM-BI-002 (2)'[Variable Difference]&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 17:42:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104384#M109312</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-28T17:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104393#M109315</link>
      <description>&lt;P&gt;This gave blank values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i remove ""Sum" from Variable difference, the whole table goes blank.&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;</description>
      <pubDate>Tue, 28 Feb 2023 17:47:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104393#M109315</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-28T17:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104403#M109317</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424505" data-lia-user-login="amandabus21" class="lia-mention lia-mention-user"&gt;amandabus21&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a new &lt;STRONG&gt;Measure&lt;/STRONG&gt; which calculates based on the original Calculated Column.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 17:52:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104403#M109317</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-28T17:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104407#M109318</link>
      <description>&lt;P&gt;Yes, I created as a new measure and added to the table. Its still blank.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 17:55:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104407#M109318</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-28T17:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104409#M109319</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424505" data-lia-user-login="amandabus21" class="lia-mention lia-mention-user"&gt;amandabus21&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry my mistake. I'm typing on the phone so please forgive such mistakes&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SUMX (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;= CALCULATE (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MIN ( 'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01] ),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REMOVEFILTERS (),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VALUES ( 'PM On Time Performance Bus PM-BI-002 (2)'[Equipment.Equipment Level 01.Key] )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;),&lt;BR /&gt;&lt;/SPAN&gt;0,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;'PM On Time Performance Bus PM-BI-002 (2)'[Variable Difference]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 17:57:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104409#M109319</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-28T17:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104428#M109321</link>
      <description>&lt;P&gt;Giving me the same values as column Variable Differennce&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 18:04:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104428#M109321</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-28T18:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104445#M109322</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424505" data-lia-user-login="amandabus21" class="lia-mention lia-mention-user"&gt;amandabus21&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;MeasureDifference =&lt;BR /&gt;VAR FirstSelectedDate =&lt;BR /&gt;CALCULATE (&lt;BR /&gt;MIN ( 'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01] ),&lt;BR /&gt;ALLSELECTED (),&lt;BR /&gt;VALUES ( 'PM On Time Performance Bus PM-BI-002 (2)'[Equipment.Equipment Level 01.Key] )&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;SUMX (&lt;BR /&gt;'PM On Time Performance Bus PM-BI-002 (2)',&lt;BR /&gt;IF (&lt;BR /&gt;'PM On Time Performance Bus PM-BI-002 (2)'[Completion Date.Completion Date Level 01] = FirstSelectedDate,&lt;BR /&gt;0,&lt;BR /&gt;'PM On Time Performance Bus PM-BI-002 (2)'[Variable Difference]&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 18:12:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104445#M109322</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-28T18:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: COnditonal Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104459#M109325</link>
      <description>&lt;P&gt;That worked thank you sooo much for all your help! wow!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 18:19:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COnditonal-Column/m-p/3104459#M109325</guid>
      <dc:creator>amandabus21</dc:creator>
      <dc:date>2023-02-28T18:19:35Z</dc:date>
    </item>
  </channel>
</rss>

