<?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: Check if a contract has a future contract associated to it in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-contract-has-a-future-contract-associated-to-it/m-p/2576193#M73774</link>
    <description>&lt;P&gt;emmmmmmmm.&lt;/P&gt;&lt;P&gt;add colnum&lt;/P&gt;&lt;P&gt;index =&amp;nbsp;&lt;/P&gt;&lt;P&gt;switch(true(),&lt;/P&gt;&lt;P&gt;[Status]="Expired",1,&lt;/P&gt;&lt;P&gt;[Status]="Avtive",2,&lt;/P&gt;&lt;P&gt;[Status]="Furture",3,&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;add colnum&lt;/P&gt;&lt;P&gt;Renewal Status=&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(calculate(max(index),allexpert(table, table[Contract #])=3,&lt;/P&gt;&lt;P&gt;"Future contract exists",&lt;/P&gt;&lt;P&gt;"Futrue contract does not exist"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 22:07:10 GMT</pubDate>
    <dc:creator>vapid128</dc:creator>
    <dc:date>2022-06-13T22:07:10Z</dc:date>
    <item>
      <title>Check if a contract has a future contract associated to it</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-contract-has-a-future-contract-associated-to-it/m-p/2576180#M73773</link>
      <description>&lt;P&gt;Hello, I have a file with contracts that are categorized by status as either expired, active or future based on the valid from and valid to dates. I want to add a Renewal Status column that checks unique contract numbers and lets me know that contract number has a future contract associated with it or not like the output example below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Input&lt;/STRONG&gt;&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;&lt;P&gt;Output Column is &lt;STRONG&gt;Renewal Status&lt;/STRONG&gt; column&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 21:55:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-contract-has-a-future-contract-associated-to-it/m-p/2576180#M73773</guid>
      <dc:creator>nabu</dc:creator>
      <dc:date>2022-06-13T21:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a contract has a future contract associated to it</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-contract-has-a-future-contract-associated-to-it/m-p/2576193#M73774</link>
      <description>&lt;P&gt;emmmmmmmm.&lt;/P&gt;&lt;P&gt;add colnum&lt;/P&gt;&lt;P&gt;index =&amp;nbsp;&lt;/P&gt;&lt;P&gt;switch(true(),&lt;/P&gt;&lt;P&gt;[Status]="Expired",1,&lt;/P&gt;&lt;P&gt;[Status]="Avtive",2,&lt;/P&gt;&lt;P&gt;[Status]="Furture",3,&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;add colnum&lt;/P&gt;&lt;P&gt;Renewal Status=&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(calculate(max(index),allexpert(table, table[Contract #])=3,&lt;/P&gt;&lt;P&gt;"Future contract exists",&lt;/P&gt;&lt;P&gt;"Futrue contract does not exist"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 22:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-contract-has-a-future-contract-associated-to-it/m-p/2576193#M73774</guid>
      <dc:creator>vapid128</dc:creator>
      <dc:date>2022-06-13T22:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a contract has a future contract associated to it</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-contract-has-a-future-contract-associated-to-it/m-p/2576230#M73776</link>
      <description>&lt;P&gt;Thank you, that worked!!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 22:34:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-contract-has-a-future-contract-associated-to-it/m-p/2576230#M73776</guid>
      <dc:creator>nabu</dc:creator>
      <dc:date>2022-06-13T22:34:54Z</dc:date>
    </item>
  </channel>
</rss>

