<?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: give me first date of renewal if renewal else first date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/give-me-first-date-of-renewal-if-renewal-else-first-date/m-p/3035021#M103887</link>
    <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;i think you can try something like,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;First Date = 
If(
containsstring(ConcatenateX(table[New/Renewal]),"Renewal",
Max(table[Funding Date],
Min(table[Funding Date])&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 21 Jan 2023 01:39:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-21T01:39:06Z</dc:date>
    <item>
      <title>give me first date of renewal if renewal else first date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/give-me-first-date-of-renewal-if-renewal-else-first-date/m-p/3035016#M103885</link>
      <description>&lt;P&gt;hello everyone ,&lt;BR /&gt;i have table :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Business_Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Term in days&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Date Funded&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;New/Renewal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Homes Reimagined Construction Inc&lt;/TD&gt;&lt;TD&gt;182&lt;/TD&gt;&lt;TD&gt;13-Dec-22&lt;/TD&gt;&lt;TD&gt;Add On&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Homes Reimagined Construction Inc&lt;/TD&gt;&lt;TD&gt;182&lt;/TD&gt;&lt;TD&gt;26-Aug-22&lt;/TD&gt;&lt;TD&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1 Choice Pest Control&lt;/TD&gt;&lt;TD&gt;157&lt;/TD&gt;&lt;TD&gt;8-Mar-22&lt;/TD&gt;&lt;TD&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3 Amorez&lt;/TD&gt;&lt;TD&gt;120&lt;/TD&gt;&lt;TD&gt;20-Jan-22&lt;/TD&gt;&lt;TD&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1 Choice Pest Control&lt;/TD&gt;&lt;TD&gt;132&lt;/TD&gt;&lt;TD&gt;26-Sep-22&lt;/TD&gt;&lt;TD&gt;Renewal&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to create a measure to show me for each business their min date with condition&lt;BR /&gt;renewal is stronger than new&amp;nbsp;&lt;BR /&gt;add on is stronger than new&lt;BR /&gt;&lt;BR /&gt;so if the business in the rows have renewal and new like "1 choice pest control",&lt;BR /&gt;give me the first date of renewal other&lt;BR /&gt;&lt;BR /&gt;expected result in table visual&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Business_Name&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;First Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Homes Reimagined Construction Inc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;13-Dec-22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3 Amorez&lt;/TD&gt;&lt;TD&gt;20-Jan-22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1 Choice Pest Control&lt;/TD&gt;&lt;TD&gt;26-Sep-22&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2023 01:14:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/give-me-first-date-of-renewal-if-renewal-else-first-date/m-p/3035016#M103885</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-01-21T01:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: give me first date of renewal if renewal else first date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/give-me-first-date-of-renewal-if-renewal-else-first-date/m-p/3035021#M103887</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;i think you can try something like,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;First Date = 
If(
containsstring(ConcatenateX(table[New/Renewal]),"Renewal",
Max(table[Funding Date],
Min(table[Funding Date])&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 21 Jan 2023 01:39:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/give-me-first-date-of-renewal-if-renewal-else-first-date/m-p/3035021#M103887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-21T01:39:06Z</dc:date>
    </item>
  </channel>
</rss>

