cancel
Showing results for 
Search instead for 
Did you mean: 
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
Community Champion
Community Champion

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
Community Champion
Community Champion

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.