<?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: Financial Statements Dax Measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3994603#M155117</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="759160" data-lia-user-login="mohsinmasood" class="lia-mention lia-mention-user"&gt;mohsinmasood&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, may I ask you if your company uses ERP?&amp;nbsp; I would have thought that standard ERP system can generate such standard financial statements, like BS and PL.&amp;nbsp; Of course ERP generated financial statements tend to be just basic ones, and Power BI can give much more flexibly regarding the visualizations.&amp;nbsp; Also getting ERP helpdesk (like SAP) to make modifications to suit your requirements can be super slow and can take months and years to get things done while comparable things can be done by Power BI in a fraction of the time if we have the access.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you know, while the BS is the accumulation of all the transactions for the BS GL since the inception, PL is just for transactions for the year, and the reserve is accumulating the PL GL amounts in one GL since the inception up to the end of the previous fiscal year.&amp;nbsp; With this logic in mind, it is definitely doable to generate financial statements from the raw transaction data using Power BI.&amp;nbsp; But companies I've seen have ERP in place, so I never had to do this from scratch from the transaction data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My observation on your switch formula is that, instead of writing each account grouping in the formula, mapping all these accounts as "BS" or "PL" in the chart of accounts mapping will make things simpler, and prevents you from manually writing additional GL accounts in the formula if a new GL is added in your CoA.&amp;nbsp; Mapping is the key to the automation of the financial reporting, and I would create a mapping like below, and write a formula to say that if it is BS account, accumulate the transaction since the inception, while it is PL, just accumulate since the beginning of the year, and for the previous year PL transactions transfer to the retained earnings equity GL which is mapped to Equity line.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BS will have Assets, Liabilities, and Equity as FS category, while PL will have Revenue and Expense as FS category.&amp;nbsp; FYI, I assumed that the Amortization and Depreciation shown in the table below are from the PL side instead of the BS side because they do not say "Accumulated Depreciation" or "Accumulated Amortization", etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="500"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="356" data-lowconfidence="0" data-bottom="7.595609" data-right="61.250000" data-top="1.558075" data-left="2.250001"&gt;Group&lt;/TD&gt;
&lt;TD width="72"&gt;BS/PL&lt;/TD&gt;
&lt;TD width="72"&gt;FS Category&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD data-lowconfidence="1" data-bottom="93.767700" data-right="61.250000" data-top="7.595609" data-left="2.250001"&gt;Accruals&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Liability&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Accrued revenue&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Liability&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Additional shareholder contribution&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Amortization on intangibles&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Bonus and incentives (I)&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Caregiver Loans Recoverables&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Cash and bank&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;CBD/ Visiting physician fee&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Control account&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Deposits and advances&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Depreciation on PPE&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Depreciation on ROU assets&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Employee payables&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Liability&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;EOSB&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Facilities cost (D)&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Facilities cost (I)&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jun 2024 02:54:41 GMT</pubDate>
    <dc:creator>DataNinja777</dc:creator>
    <dc:date>2024-06-16T02:54:41Z</dc:date>
    <item>
      <title>Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990443#M154756</link>
      <description>&lt;P&gt;I have financial statement format for that i am using measures with switch to display the value but one of the measures is not giving me right value when placed with switch function alone that measure gives me correct amount in card visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;below measure gives me correct amount when i used in card visual&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure Formula&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reserves = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Accounted Net]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Accounted Net]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Group dUPLICATE acc type]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Owners' equity"&lt;/SPAN&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;[Net Profit for Equity]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;problem happens when i placed the same measure in Switch &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Switch Formula&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Financial Data'[Group]),&lt;/SPAN&gt;&lt;SPAN&gt;"Accruals"&lt;/SPAN&gt;&lt;SPAN&gt;,[Accruals],&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;"Reserves"&lt;/SPAN&gt;&lt;SPAN&gt;,[Reserves],&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;"Accrued revenue"&lt;/SPAN&gt;&lt;SPAN&gt;,[Accrued Revenue],&lt;/SPAN&gt;&lt;SPAN&gt;"Cash and bank"&lt;/SPAN&gt;&lt;SPAN&gt;,[Cash and bank],&lt;/SPAN&gt;&lt;SPAN&gt;"Caregiver Loans Recoverables"&lt;/SPAN&gt;&lt;SPAN&gt;,[Caregiver Loans Recoverables],&lt;/SPAN&gt;&lt;SPAN&gt;"Deposits &amp;amp; advances"&lt;/SPAN&gt;&lt;SPAN&gt;,[Deposits &amp;amp; advances],&lt;/SPAN&gt;&lt;SPAN&gt;"Employee payables"&lt;/SPAN&gt;&lt;SPAN&gt;,[Employee payables],&lt;/SPAN&gt;&lt;SPAN&gt;"EOSB"&lt;/SPAN&gt;&lt;SPAN&gt;,[EOSB],&lt;/SPAN&gt;&lt;SPAN&gt;"Intangible Assets"&lt;/SPAN&gt;&lt;SPAN&gt;,[Intangible Assets],&lt;/SPAN&gt;&lt;SPAN&gt;"Inventory"&lt;/SPAN&gt;&lt;SPAN&gt;,[Inventory],&lt;/SPAN&gt;&lt;SPAN&gt;"Lease Liability- C"&lt;/SPAN&gt;&lt;SPAN&gt;,[Lease Liability- C],&lt;/SPAN&gt;&lt;SPAN&gt;"Other payables"&lt;/SPAN&gt;&lt;SPAN&gt;,[Other payables],&lt;/SPAN&gt;&lt;SPAN&gt;"Other receivables"&lt;/SPAN&gt;&lt;SPAN&gt;,[Other receivables],&lt;/SPAN&gt;&lt;SPAN&gt;"Prepaid expenses"&lt;/SPAN&gt;&lt;SPAN&gt;,[Prepaid expenses],&lt;/SPAN&gt;&lt;SPAN&gt;"Property, Plant and Equipment"&lt;/SPAN&gt;&lt;SPAN&gt;,[Propert plant and equipment],&lt;/SPAN&gt;&lt;SPAN&gt;"ROU assets"&lt;/SPAN&gt;&lt;SPAN&gt;,[ROU assets],&lt;/SPAN&gt;&lt;SPAN&gt;"Tax payable"&lt;/SPAN&gt;&lt;SPAN&gt;,[Tax Payable],&lt;/SPAN&gt;&lt;SPAN&gt;"Trade payables"&lt;/SPAN&gt;&lt;SPAN&gt;,[Trade Payables],&lt;/SPAN&gt;&lt;SPAN&gt;"Trade receivable"&lt;/SPAN&gt;&lt;SPAN&gt;,[Trade receivable],&lt;/SPAN&gt;&lt;SPAN&gt;"Additional shareholder contribution"&lt;/SPAN&gt;&lt;SPAN&gt;,[Additional shareholder contribution],&lt;/SPAN&gt;&lt;SPAN&gt;"Share capital"&lt;/SPAN&gt;&lt;SPAN&gt;,[Share capital])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 07:27:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990443#M154756</guid>
      <dc:creator>mohsinmasood</dc:creator>
      <dc:date>2024-06-13T07:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990625#M154771</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="759160" data-lia-user-login="mohsinmasood" class="lia-mention lia-mention-user"&gt;mohsinmasood&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please use the code formatting, this makes it easier to read measures.&lt;BR /&gt;&lt;BR /&gt;Looking at the screenshot of the table, Reserves doesn't appear in the Group column. You need to add it there for it to appear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 08:43:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990625#M154771</guid>
      <dc:creator>Joe_Barry</dc:creator>
      <dc:date>2024-06-13T08:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990628#M154773</link>
      <description>&lt;P&gt;"Reserves"its there actually i just took random screen shot just for understaning&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 08:45:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990628#M154773</guid>
      <dc:creator>mohsinmasood</dc:creator>
      <dc:date>2024-06-13T08:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990633#M154774</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It gives me value of this calculation &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reserves =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Accounted Net]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Accounted Net]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i want below calculation value&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reserves =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Accounted Net]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Accounted Net]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Financial Data'[Group dUPLICATE acc type]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Owners' equity"&lt;/SPAN&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;[Net Profit for Equity]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 08:47:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990633#M154774</guid>
      <dc:creator>mohsinmasood</dc:creator>
      <dc:date>2024-06-13T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990664#M154776</link>
      <description>&lt;P&gt;Please try&amp;nbsp; the below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But what are trying achive here with this part?&amp;nbsp; +[Net Profit for Equity]&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Reserves = 
CALCULATE(
   SUM('Financial Data'[Accounted Net]),
     KEEPFILTERS('Financial Data'[Group dUPLICATE acc type] IN {"Owners", "equity"),
ALL('Financial Data'[Accounted Net])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 08:52:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990664#M154776</guid>
      <dc:creator>Joe_Barry</dc:creator>
      <dc:date>2024-06-13T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990769#M154781</link>
      <description>&lt;P&gt;actually i am trying to build Balance sheet where we have to add net income for the year to owners equity&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 09:41:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990769#M154781</guid>
      <dc:creator>mohsinmasood</dc:creator>
      <dc:date>2024-06-13T09:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990934#M154786</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="759160" data-lia-user-login="mohsinmasood" class="lia-mention lia-mention-user"&gt;mohsinmasood&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you need to add [Net Profit for Equity] to the answer of the first part?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Reserves = 
VAR _OwnEq = 
CALCULATE(
   SUM('Financial Data'[Accounted Net]),
     KEEPFILTERS('Financial Data'[Group dUPLICATE acc type] IN {"Owners", "equity"),
ALL('Financial Data'[Accounted Net])

RETURN
_OwnEq + [Net Profit for Equity]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Presuming&amp;nbsp;[Net Profit for Equity] is a measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 11:08:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3990934#M154786</guid>
      <dc:creator>Joe_Barry</dc:creator>
      <dc:date>2024-06-13T11:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Financial Statements Dax Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3994603#M155117</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="759160" data-lia-user-login="mohsinmasood" class="lia-mention lia-mention-user"&gt;mohsinmasood&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, may I ask you if your company uses ERP?&amp;nbsp; I would have thought that standard ERP system can generate such standard financial statements, like BS and PL.&amp;nbsp; Of course ERP generated financial statements tend to be just basic ones, and Power BI can give much more flexibly regarding the visualizations.&amp;nbsp; Also getting ERP helpdesk (like SAP) to make modifications to suit your requirements can be super slow and can take months and years to get things done while comparable things can be done by Power BI in a fraction of the time if we have the access.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you know, while the BS is the accumulation of all the transactions for the BS GL since the inception, PL is just for transactions for the year, and the reserve is accumulating the PL GL amounts in one GL since the inception up to the end of the previous fiscal year.&amp;nbsp; With this logic in mind, it is definitely doable to generate financial statements from the raw transaction data using Power BI.&amp;nbsp; But companies I've seen have ERP in place, so I never had to do this from scratch from the transaction data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My observation on your switch formula is that, instead of writing each account grouping in the formula, mapping all these accounts as "BS" or "PL" in the chart of accounts mapping will make things simpler, and prevents you from manually writing additional GL accounts in the formula if a new GL is added in your CoA.&amp;nbsp; Mapping is the key to the automation of the financial reporting, and I would create a mapping like below, and write a formula to say that if it is BS account, accumulate the transaction since the inception, while it is PL, just accumulate since the beginning of the year, and for the previous year PL transactions transfer to the retained earnings equity GL which is mapped to Equity line.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BS will have Assets, Liabilities, and Equity as FS category, while PL will have Revenue and Expense as FS category.&amp;nbsp; FYI, I assumed that the Amortization and Depreciation shown in the table below are from the PL side instead of the BS side because they do not say "Accumulated Depreciation" or "Accumulated Amortization", etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="500"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="356" data-lowconfidence="0" data-bottom="7.595609" data-right="61.250000" data-top="1.558075" data-left="2.250001"&gt;Group&lt;/TD&gt;
&lt;TD width="72"&gt;BS/PL&lt;/TD&gt;
&lt;TD width="72"&gt;FS Category&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD data-lowconfidence="1" data-bottom="93.767700" data-right="61.250000" data-top="7.595609" data-left="2.250001"&gt;Accruals&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Liability&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Accrued revenue&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Liability&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Additional shareholder contribution&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Equity&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Amortization on intangibles&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Bonus and incentives (I)&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Caregiver Loans Recoverables&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Cash and bank&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;CBD/ Visiting physician fee&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Control account&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Deposits and advances&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Asset&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Depreciation on PPE&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Depreciation on ROU assets&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Employee payables&lt;/TD&gt;
&lt;TD&gt;BS&lt;/TD&gt;
&lt;TD&gt;Liability&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;EOSB&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Facilities cost (D)&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Facilities cost (I)&lt;/TD&gt;
&lt;TD&gt;PL&lt;/TD&gt;
&lt;TD&gt;Expense&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 02:54:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Financial-Statements-Dax-Measures/m-p/3994603#M155117</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-06-16T02:54:41Z</dc:date>
    </item>
  </channel>
</rss>

