<?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: Need help please. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314650#M23036</link>
    <description>&lt;P&gt;Thanks for your time&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, see below the output that I got.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2020 12:20:31 GMT</pubDate>
    <dc:creator>emmanuelkamara1</dc:creator>
    <dc:date>2020-08-21T12:20:31Z</dc:date>
    <item>
      <title>Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314515#M23017</link>
      <description>&lt;P&gt;I am struggling to write a Dax function that returns the outstanding balance after doing some filtration. In the dataset below, I want to get the outstanding balance after doing this filtration (current date-registration date-upfront_days_included &amp;gt;=30). Return all those outstanding balance after&amp;nbsp;doing this ....today minus registration date minus upfront days included &amp;gt;=30).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I basically need a dax function to do this for me. Find below a snapshot of the data. God bless you!!&lt;/P&gt;&lt;P&gt;&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;</description>
      <pubDate>Fri, 21 Aug 2020 12:14:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314515#M23017</guid>
      <dc:creator>emmanuelkamara1</dc:creator>
      <dc:date>2020-08-21T12:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314565#M23021</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="252941" data-lia-user-login="emmanuelkamara1" class="lia-mention lia-mention-user"&gt;emmanuelkamara1&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe the DAX should be something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
  VAR __Table = 
    ADDCOLUMNS(
      'Table',
      "Selector",(TODAY() - [registration_date_utc]) * 1. - [upfront_days_included]
    )
RETURN
  SUMX(FILTER(__Table,[Selector] &amp;gt;= 30),[Outstanding_balance])&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 21 Aug 2020 11:48:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314565#M23021</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-21T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314569#M23023</link>
      <description>&lt;P&gt;I want to calculate the potfolio at risk which is the outstanding balce for accounts that have been disabled for 30+ days divided by all the outstanding balnce of enabled and disabled accounts. When a user register an account, the user will get a minimum of 7 days to use the product before it switches to disbaled mode. However, the user will get more than 7 days to use the product if the upfront price is&amp;nbsp; grater than the minimum upfront price. To get an accurate Portfolio at risk, I will have to filter out new accounts because I will not know if they are bad or good customers that is why I needed to do some filteration. Before including an account in my PAR calculation, I need to make sure that the current date minus the registration date minus the upfront days is grater than or equal to 30.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 11:49:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314569#M23023</guid>
      <dc:creator>emmanuelkamara1</dc:creator>
      <dc:date>2020-08-21T11:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314570#M23024</link>
      <description>This is not clear. Please follow this post to maximize the chances of answers:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;</description>
      <pubDate>Fri, 21 Aug 2020 11:49:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314570#M23024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-21T11:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314607#M23027</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, Anonymous&lt;/a&gt;&amp;nbsp;I want to calculate the potfolio at risk which is the outstanding balance for accounts that have been disabled for 30+ days divided by all the outstanding balance of enabled and disabled accounts. When a user register an account, the user will get a minimum of 7 days to use the product before it switches to disabled mode. However, the user will get more than 7 days to use the product if the upfront price is grater than the minimum upfront price. To get an accurate Portfolio at risk, I will have to filter out new accounts because I will not know if they are bad or good customers that is why I needed to do some filtration. Before including an account in my PAR calculation, I need to make sure that the current date minus the registration date minus the upfront days is grater than or equal to 30.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 12:03:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314607#M23027</guid>
      <dc:creator>emmanuelkamara1</dc:creator>
      <dc:date>2020-08-21T12:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314627#M23033</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="252941" data-lia-user-login="emmanuelkamara1" class="lia-mention lia-mention-user"&gt;emmanuelkamara1&lt;/a&gt;&amp;nbsp;- So was my DAX formula correct because:&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;Before including an account in my PAR calculation, I need to make sure that the current date minus the registration date minus the upfront days is grater than or equal to 30."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unless I'm mistaken, that's what the DAX was doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps we need to backup. Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 12:10:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314627#M23033</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-21T12:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314650#M23036</link>
      <description>&lt;P&gt;Thanks for your time&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, see below the output that I got.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 12:20:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314650#M23036</guid>
      <dc:creator>emmanuelkamara1</dc:creator>
      <dc:date>2020-08-21T12:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314681#M23042</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="252941" data-lia-user-login="emmanuelkamara1" class="lia-mention lia-mention-user"&gt;emmanuelkamara1&lt;/a&gt;&amp;nbsp;- One, I would try it as a Card visual. Two, what does See details say?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 12:35:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314681#M23042</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-21T12:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314684#M23043</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;, Works....I had to change the data-type .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 12:35:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314684#M23043</guid>
      <dc:creator>emmanuelkamara1</dc:creator>
      <dc:date>2020-08-21T12:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help please.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314741#M23045</link>
      <description>Great!</description>
      <pubDate>Fri, 21 Aug 2020 12:53:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-help-please/m-p/1314741#M23045</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-21T12:53:24Z</dc:date>
    </item>
  </channel>
</rss>

