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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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 @Anonymous 

 

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 @Anonymous 

 

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.