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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors