<?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: DAX for max overdue (days) payment for any given day in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804273#M4933</link>
    <description>&lt;P&gt;Thank you, but it does not solve second issue with this measure.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 12:41:51 GMT</pubDate>
    <dc:creator>Hermes</dc:creator>
    <dc:date>2019-09-27T12:41:51Z</dc:date>
    <item>
      <title>DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804074#M4927</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could anyone please help me with creating measure returning max overdue in days for any given day for transaction unpaid in time? Basicaly; current date - min([due date]), but I have no idea how to filter only transactions unpaid ( payment[amount] - payment sum(transfer[amount]) &amp;lt;&amp;gt; 0 )for given day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is simplified tables I work with, with balance already calculated and desired output to be calculated (in orange). Chart does not matter, but it shows what I want to achieve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my simplified model attached -&amp;nbsp;&lt;A href="https://we.tl/t-S4tlqJTDGj" target="_blank" rel="noopener"&gt;https://we.tl/t-S4tlqJTDGj&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 09:57:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804074#M4927</guid>
      <dc:creator>Hermes</dc:creator>
      <dc:date>2019-09-27T09:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804167#M4930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try using the below Formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Measure:= CALCULATE(DATE(TODAY())-MIN(Due[Due Date]),
CALCULATETABLE(ADDCOLUMNS(SUMMARIZECOLUMNS(PAYMENT[Receive Date],"Payment Amount",
SUM(PAYMENT[Amount]),"Due Sum",CALCULATE(SUM(Due[Amount]), 
TREATAS(VALUES(PAYMENT[Receive Date]),Due[Due Date]))),"Difference", 
[Payment Amount]-[Due Sum]),[Difference]&amp;lt;&amp;gt;0))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:41:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804167#M4930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-27T10:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804234#M4931</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A title="" href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/152797" target="_self"&gt;&lt;SPAN class=""&gt;Mvignesh53&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This measure does not work for me:&lt;/P&gt;&lt;PRE&gt;DATE(TODAY())&lt;/PRE&gt;&lt;P&gt;This is not accepted as valid syntax&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover, trying to refrence&amp;nbsp;[Difference] in filter&amp;nbsp;[Difference] &amp;lt;&amp;gt; 0 gives me error "column does not exist".&lt;/P&gt;&lt;P&gt;It might be because I work in excel power pivot, where DAX engine is somehow limited (i.e. TREATAS is not recognized as formula; yet still works, which is buffling).&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 11:59:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804234#M4931</guid>
      <dc:creator>Hermes</dc:creator>
      <dc:date>2019-09-27T11:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804241#M4932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry about that.Can you replace it with below.&lt;/P&gt;&lt;PRE&gt;Date:= DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(TODAY()))&lt;/PRE&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Vignesh M&lt;BR /&gt;&lt;BR /&gt;If what I suggested worked for you feel free to Drop a "&lt;STRONG&gt;Kudos&lt;/STRONG&gt;" and Consider to "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" if I solved your Issue :)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 12:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804241#M4932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-27T12:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804273#M4933</link>
      <description>&lt;P&gt;Thank you, but it does not solve second issue with this measure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 12:41:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/804273#M4933</guid>
      <dc:creator>Hermes</dc:creator>
      <dc:date>2019-09-27T12:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/806513#M5009</link>
      <description>&lt;P&gt;Anyone?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 06:49:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/806513#M5009</guid>
      <dc:creator>Hermes</dc:creator>
      <dc:date>2019-10-01T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/806522#M5010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share this pbix file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Vignesh M&lt;BR /&gt;&lt;BR /&gt;If what I suggested worked for you feel free to Drop a "Kudos" and Consider to "Accept as Solution" if I solved your Issue.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 06:53:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/806522#M5010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-01T06:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for max overdue (days) payment for any given day</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/806967#M5031</link>
      <description>&lt;P&gt;I've shered excel with data model already - &lt;A title="" href="https://we.tl/t-S4tlqJTDGj" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://we.tl/t-S4tlqJTDGj&lt;/A&gt;&amp;nbsp;- do You need it converted to pbix, or is it fine like this?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 13:46:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-max-overdue-days-payment-for-any-given-day/m-p/806967#M5031</guid>
      <dc:creator>Hermes</dc:creator>
      <dc:date>2019-10-01T13:46:53Z</dc:date>
    </item>
  </channel>
</rss>

