Well, you just have to create a column under the table “Balance Sheet Data”. Below is the formula using “SWITCH( TRUE() )” statement provided for the reference -
Once you create this column, just drag it under the “Columns” section of the Matrix visual and you’ll get the results. Below is the screenshot of the final results provided for the reference -
I’m also attaching the working of the PBIX file for the reference purposes.
Hoping you find this useful and meets your requirements that you’ve been looking for.
Important Note: Since content is created from an educational point of view, the data is of the fictitious nature and therefore the total of trial balance i.e. Debits and Credit will not be equal.
Thanks Harsh,
That will help me a lot at the moment of Creating the blance sheet you have well pointed the Assets on the Credits and liabilitys and , liability / Owners on the Debit…
At the tria balance, I would like to locate in the column according to Positive / Negative Values, where (+) goes to Credit and (-) to Debit and the columns should balance.
Well, as suggested above, in this case, the column of Debit will not tally with the Credit column since data is of fictitious nature and created from an educational perspective.
But as you suggested, that in general (+) should be termed as Credit and (-) should be termed as Debit, in that case, first you’ll definitely have to ensure that all positive (+) numbers are only and only Credit related and all negative (-) numbers are Debit related. If this is the situation then you can simply apply the “SWITCH( TRUE() )” statement over the number/figures/amount column rather than applying it over Balance Sheet Type column (which was done above) and state the condition as (+) numbers equals Credit and (-) numbers equals Debit. And you’ll get the results accordingly.