<?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: Opening Balance not working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2628677#M37262</link>
    <description>&lt;P&gt;Hi RicoZhou,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp;&lt;BR /&gt;Yes, DAX doesn't support and I used Power query to do this .&amp;nbsp;&lt;BR /&gt;Thank you for your help .&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2022 07:25:03 GMT</pubDate>
    <dc:creator>shilpa288</dc:creator>
    <dc:date>2022-07-09T07:25:03Z</dc:date>
    <item>
      <title>Opening Balance not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2616007#M37150</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having issue with opening balance dax function.&lt;/P&gt;&lt;P&gt;I am using this calculation for opening balanace which is not working correctly.&lt;/P&gt;&lt;P&gt;Open bal =&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX(View_EventRec_Test3[Charges/Required] ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TOPN(1,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ALLSELECTED(View_EventRec_Test3),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;View_EventRec_Test3[InvoiceDate]&amp;lt; Max(View_EventRec_Test3[InvoiceDate])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;View_EventRec_Test3[InvoiceDate],DESC&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please find sample report template.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Kindly help !&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 01:05:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2616007#M37150</guid>
      <dc:creator>shilpa288</dc:creator>
      <dc:date>2022-07-04T01:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Balance not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2617291#M37176</link>
      <description>&lt;P&gt;Hi , Is there any way to achive this using Dax?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 11:15:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2617291#M37176</guid>
      <dc:creator>shilpa288</dc:creator>
      <dc:date>2022-07-04T11:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Balance not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2621819#M37209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="408386" data-lia-user-login="shilpa288" class="lia-mention lia-mention-user"&gt;shilpa288&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your statement, I think first [OpenBal] is equal to 0 and other&amp;nbsp;[OpenBal]s is calculated based on&amp;nbsp; [Clos_Bal].&amp;nbsp;&amp;nbsp;[Clos_Bal] is calculated based on the&amp;nbsp;[Clos_Bal] before. As far as I know , Power BI doesn't support us to calculate looping by Dax. I suggest you to calculate this by M code in Power Query.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://exceed.hr/blog/list-generate-and-looping-in-powerquery/" target="_self"&gt;List.Generate()&lt;/A&gt; should work.&amp;nbsp; Here is a video about &lt;A href="https://www.youtube.com/watch?v=T1q3BF5_YJ8" target="_self"&gt;easying looping in Power Query&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 08:44:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2621819#M37209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-06T08:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Balance not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2628677#M37262</link>
      <description>&lt;P&gt;Hi RicoZhou,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp;&lt;BR /&gt;Yes, DAX doesn't support and I used Power query to do this .&amp;nbsp;&lt;BR /&gt;Thank you for your help .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 07:25:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Opening-Balance-not-working/m-p/2628677#M37262</guid>
      <dc:creator>shilpa288</dc:creator>
      <dc:date>2022-07-09T07:25:03Z</dc:date>
    </item>
  </channel>
</rss>

