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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Daniel3
New Member

How to add this calculated column?

I have this table:

 

Daniel3_2-1635098619043.png

 

I am using the four values

 

  • Soll = debit
  • Haben = credit
  • Konto = posting account
  • Kontoname = posting account name

to create this visual that aggregates the debit and credit:

 

Daniel3_1-1635098152999.png

 

How can I add a fifth column to the visual that show the difference between debit and credit (credit - debit)?

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @Daniel3 

 

Try this to add a new column to the table, then use that in the visual:

Column = [Haben]-[Soll]

 

Or try this measure:

Difference= sum(Buchungen[Haben])-sum(Buchungen[Soll])

 

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

 

Appreciate your Kudos!!



View solution in original post

1 REPLY 1
VahidDM
Super User
Super User

Hi @Daniel3 

 

Try this to add a new column to the table, then use that in the visual:

Column = [Haben]-[Soll]

 

Or try this measure:

Difference= sum(Buchungen[Haben])-sum(Buchungen[Soll])

 

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

 

Appreciate your Kudos!!



Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.