Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
powerbricco
Frequent Visitor

reclassified chart of accounts

Dear All,

In my model I have 3 tables.

Table 1: "Chart of Accounts" table which is approx as follows:

Account CodeGroup_01Group_02Reclassification Code_DebitReclassification Code_Credit
02529Balance SheetAssets003 
02213Balance SheetLiabilities0011200011
02643Income StatementCosts 0005
02642Income StatementRevenues

1534

5236

 

 

Table 2: "Reclassification" table which is approx as follows:

DescriptionReclassification Code
Credits003
Credit Note00112
Bank debts00011
Costs of sales0005
Other revenues1534

 

Table 3: "Journal" table which is approx as follows:

Account CodeBalance
02529€ 1.000
02213- € 2.500
02643- € 5.000
02642€ 500

 

Table 1 is linked to table 3 by Account Code.

How can I relate Table 2 to Table 3 so I can have my reclassified chart of accounts?

Thing is: depending on the balance of each account code (positive or negative), reclassification code may change.

Thanks for your kind suggestions

 

5 REPLIES 5
v-jialongy-msft
Community Support
Community Support

Hi @powerbricco 

What is the specific logic of your reclassification code? I believe you can achieve this by writing DAX instead of linking two unrelated tables.

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dear @v-jialongy-msft , i thought about this. I believe i can do as follows:

in my chart of accounts table (Table-1), i should create a new column which logic is:

- if SUM(Balance) is > 0, then Reclassification Code_Debit, else Reclassification Code_Credit).

I don't know if I can use a measure or a calculation like SUM(Balance) to create this new column...

lbendlin
Super User
Super User


Please show the expected outcome based on the sample data you provided.

Dear @lbendlin , i thought about this. I believe i can do as follows:

in my chart of accounts table (Table-1), i should create a new column which logic is:

- if SUM(Balance) is > 0, then Reclassification Code_Debit, else Reclassification Code_Credit).

I don't know if I can use a measure or a calculation like SUM(Balance) to create this new column...

No, you cannot meaningfully create columns from measures.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.