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
sea_sriram
New Member

Subtract Two Columns - New BI user

Dear All

 

Good day. Am new to Power BI - just getting used and watching some online training.

 

Here is my question.

 

I have two columns.

 

Each column has 10 data fields

I would like to subtract column A from Column B and have the results in Column C.

 

Can someone help me on how to do it?

 

Thanks

Sriram

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sea_sriram

 

Create a calculated column 

ColumnC =  ([ColumnA] - [ColumnB] )

 

If this works please accept it as a solution and also give KUDOS.

 

Cheers

 

CheenuSing

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Are you saying that each column has values in 10 rows? If the columns are numeric then @Anonymous's formula will work if you create a new column and give it the formula he provided.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @sea_sriram

 

Create a calculated column 

ColumnC =  ([ColumnA] - [ColumnB] )

 

If this works please accept it as a solution and also give KUDOS.

 

Cheers

 

CheenuSing

Anonymous
Not applicable

hi

Encouraged by above - if subtraction is to be done with a column say buy-sell in this example, what wud it be pls?

saurabhsharma19_0-1640254410626.png

 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.