March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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)
Solved! Go to Solution.
Hi @burna,
Based on my test, you could refer to below steps:
Sample data:
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:
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
Hi @burna,
Based on my test, you could refer to below steps:
Sample data:
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:
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
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
24 | |
23 | |
12 | |
11 | |
8 |
User | Count |
---|---|
46 | |
44 | |
24 | |
12 | |
10 |