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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
burna
Frequent Visitor

ADD COLUMN

I want to add the value cloumns in my table .Not sure how to do it ,can anyone help me out on this

As per the below screenshot want  to add the GROSS AMT + DISCOUNT_AMT AND GROSS AMT SUP

i.e  50,302 + (-1064) + (-2100)

ADD COLUMNS.PNG

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @burna,

Based on my test, you could refer to below steps:

Sample data:

1.PNG

Create a calculated column:

Column = CALCULATE(SUM(TableA[DISCOUNT_AMT])+CALCULATE(SUM(TableA[GROSS_AMT])+CALCULATE(SUM(TableB[GROSS AMT SUP]))))

Also, you could create a measure:

Measure = CALCULATE(SUM(TableA[DISCOUNT_AMT])+CALCULATE(SUM(TableA[GROSS_AMT])+CALCULATE(SUM(TableB[GROSS AMT SUP]))))

Result:

1.PNG

You could also download the pbix file to have a view:

https://www.dropbox.com/s/0xnar83jrju5hk2/ADD%20COLUMN.pbix?dl=0

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @burna,

Based on my test, you could refer to below steps:

Sample data:

1.PNG

Create a calculated column:

Column = CALCULATE(SUM(TableA[DISCOUNT_AMT])+CALCULATE(SUM(TableA[GROSS_AMT])+CALCULATE(SUM(TableB[GROSS AMT SUP]))))

Also, you could create a measure:

Measure = CALCULATE(SUM(TableA[DISCOUNT_AMT])+CALCULATE(SUM(TableA[GROSS_AMT])+CALCULATE(SUM(TableB[GROSS AMT SUP]))))

Result:

1.PNG

You could also download the pbix file to have a view:

https://www.dropbox.com/s/0xnar83jrju5hk2/ADD%20COLUMN.pbix?dl=0

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
deldersveld
Resident Rockstar
Resident Rockstar

Create a new measure that includes those three fields. It would be something like =SUM(Table[GROSS_AMT]) + SUM(Table[DISCOUNT_AMT]) + SUM(Table[GROSS AMT SUP]). When added to the matrix, the measure would show the sum of the three column values repeating for each row.

The problem is GROSS_AMT and DISCOUNT_AMT are from table A GROSS_AMT_SUP is from table B,but they are related to each other by one to many relation and ,i want to represent the total value in the same matrix table 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.