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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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